<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 16, 2014 at 8:07 AM, Glynn Clements <span dir="ltr"><<a href="mailto:glynn@gclements.plus.com" target="_blank">glynn@gclements.plus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><br>
Huidae Cho wrote:<br>
<br>
> We also need to add option_rules or something to g.parser so that python<br>
> scripts can have access to these functions. Something like:<br>
><br>
> #%option_rules<br>
> #% exclusive: -a, -b<br>
> #% requires_all: opt1, opt2, -a<br>
> #%end<br>
<br>
</span>Done in r61994.<br></blockquote><div><br></div><div>Great, thanks! Now we (whoever it means) should try to document the new rules in the programming manual (<a href="http://grass.osgeo.org/programming7/gislib_cmdline_parsing.html">http://grass.osgeo.org/programming7/gislib_cmdline_parsing.html</a>). The parser syntax for Python scripts is not really documented anywhere, or am I missing something?</div><div><br></div><div>Anna</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class=""><div class="h5"><br>
--<br>
Glynn Clements <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br>
_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
</div></div></blockquote></div><br></div></div>