[GRASS-dev] [GRASS GIS] #2409: last call for options keys consolidation

Anna Petrášová kratochanna at gmail.com
Sun Nov 30 05:25:20 PST 2014


On Sun, Nov 30, 2014 at 4:41 AM, Martin Landa <landa.martin at gmail.com>
wrote:

> Hi,
>
> 2014-11-29 23:09 GMT+01:00 Anna Petrášová <kratochanna at gmail.com>:
> > Ok then. We should probably try to avoid too many flags in the first
> place.
>
> yes, some modules have a lot of mutually exclusive flags. They could
> be replaced by parameter with single or multiple options (in the case
> that the flags are not mutually exclusive). See e.g. change in
> r.reclass.area [1]. Good candidate is g.region, and many others.
>

I would keep g.region flags, I think this is one of the most frequently
used modules in command line and GRASS users wouldn't really appreciate
changing the interface (even backwards compatible). Flags are faster to
type, too.  So we should have a good reason for changing it. Perhaps there
are better candidates for flag -> option change, I don't know now.

Anna


> Martin
>
> [1] http://trac.osgeo.org/grass/changeset/63037
>
> --
> Martin Landa
> http://geo.fsv.cvut.cz/gwiki/Landa
> http://gismentors.eu/mentors/landa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20141130/a0d80272/attachment-0001.html>


More information about the grass-dev mailing list