[GRASS-dev] module header definitions add: text/multiline and latex support?

Glynn Clements glynn at gclements.plus.com
Wed Jan 14 23:46:24 PST 2015

> 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.

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

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

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list