Nikos Alexandris wrote:

> Is it possible to define a series of flags -cl -ch -mi -ma for a bash shell 
> grass script, that g.parser will understand?

No. G_parser() (and thus g.parser) follows Unix convention in its
interpretation of flags, i.e. "-abc" is equivalent to "-a -b -c".

The double-dash flags (e.g. --quiet) are all hard-coded; it isn't
possible for a module to define its own.

If single-character flags aren't suitable for whatever reason,
consider using a multi-valued option, e.g. "flags=cl,ch,mi,ma".

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to