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
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to