On Fri, Jan 16, 2015 at 1:16 PM, Paulo van Breugel <[email protected]> wrote: > I see what I missed: the flag needs to be given with a leading "-": > > #%rules > # %required: -i,-d,-c > #%end > > It might be useful to have an example of both rules for options and for > flags (in the example section or perhaps even in the 'Conditional parameter' > section like below > > For scripts, relationships are specified using a "rules" section, e.g.for > options: > > #%rules > #%required: altitude,elevation > #%end > > and e.g., for flags: > > #%rules > #%required: -f,-i > #%end
I have added that. The example will show up online in ~ 24hs. > p.s. note that in the help file the colon is still missing in the example in > the Conditional parameter section. It was already fixed... as mentioned the online manual needed some minutes to be updated. Markus _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
