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

Martin Landa landa.martin at gmail.com
Sun Nov 30 02:08:27 PST 2014


2014-11-30 10:41 GMT+01:00 Martin Landa <landa.martin at gmail.com>:
> 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

to make live easier for the user we could add to libgis file similar
to `renamed_options` - `replaced_flags`. That the parser could print
info like

Flag -%c has been replaced by option <%s>. Please update your script.

Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.eu/mentors/landa


More information about the grass-dev mailing list