> Requiring raster OR vector is possible already.
> 
> #%rules
> #% requires: raster, vector
> #%end

This should be "required" (at least one of the options must be given).
If you want exactly one option to be given, you need both "required"
and "exclusive", e.g.

#%rules
#% required: raster, vector
#% exclusive: raster, vector
#%end

A "requires" rule indicates that if the first option is given, at
least one of the other options must be given.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to