[GRASS-dev] module header definitions add: text/multiline and latex support?
Moritz Lennert
mlennert at club.worldonline.be
Thu Jan 15 00:37:10 PST 2015
On 15/01/15 08:46, Glynn Clements wrote:
>
>> 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.
>
It would be great if all these options could be documented in the
g.parser man page...
Moritz
More information about the grass-dev
mailing list