[GRASS-dev] new option to set options to be required or exclusive, etc

Markus Neteler neteler at osgeo.org
Fri Jan 16 03:54:45 PST 2015


On Fri, Jan 16, 2015 at 12:16 PM, Paulo van Breugel
<p.vanbreugel at gmail.com> wrote:
> I have three flags: i, d and c. When I use
>
> #%rules
> #%required i,d,c
              ^^^^^^^ -- I think the colon is missing
> #%end
>
>
> and then run the script, I get the message:
>
> Unknown option "i" in rule
> Unknown option "d" in rule
> Unknown option "c" in rule
> ERROR: Internal error: option or flag not found

The manual page of g.parser describes this (the online manual will
show it in 20min from now:

http://grass.osgeo.org/grass70/manuals/g.parser.html#conditional-parameters

Markus


More information about the grass-dev mailing list