[GRASS-dev] new flags --g
Martin Landa
landa.martin at gmail.com
Fri May 8 11:58:33 EDT 2009
Hi all,
would make sense to you to introduce new global flag for shell style
module output?
'--g'
Then all '-g' flags and similar flags with different key could be
replaced by '--g'. In the case of g.region
`g.region -g` would be changed to `g.region -p --g`
Also grass python interface could be simplified to
grass.read_command('g.region', flags='p', shellstyle = True).
Shell style output is widely used in the scripts and at the end also
in the wxGUI. The global flag could simplify the usage. Moreover some
modules uses '-g' for other purposes which is quite confusing.
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
More information about the grass-dev
mailing list