[GRASS-dev] [GRASS-SVN] r60703 - in grass/trunk: display/d.vect general/g.gisenv gui/wxpython/animation lib/python/temporal raster/r.colors raster/r.external raster/r.in.bin raster/r.mapcalc raster/r.neighbors raster/r.out.bin raster/r.quant raster/r.resamp.filter raster/r.series raster/r.series.accumulate raster/r.series.interp raster/r.stats.quantile vector/v.colors vector/v.external.out

Anna Petrášová kratochanna at gmail.com
Tue Sep 16 08:32:24 PDT 2014


On Tue, Sep 16, 2014 at 8:07 AM, Glynn Clements <glynn at gclements.plus.com>
wrote:

>
> Huidae Cho wrote:
>
> > We also need to add option_rules or something to g.parser so that python
> > scripts can have access to these functions. Something like:
> >
> > #%option_rules
> > #% exclusive: -a, -b
> > #% requires_all: opt1, opt2, -a
> > #%end
>
> Done in r61994.
>

Great, thanks! Now we (whoever it means) should try to document the new
rules in the programming manual (
http://grass.osgeo.org/programming7/gislib_cmdline_parsing.html). The
parser syntax for Python scripts is not really documented anywhere, or am I
missing something?

Anna


> --
> Glynn Clements <glynn at gclements.plus.com>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140916/41159e4c/attachment.html>


More information about the grass-dev mailing list