[GRASS-dev] Re: [GRASS-SVN] r49205 - in grass/trunk: lib/python raster/r.info

Martin Landa landa.martin at gmail.com
Sat Nov 26 18:07:54 EST 2011


Hi,

2011/11/18 Hamish <hamish_b at yahoo.com>:
> Hamish wrote:
>> simple, clean, consistent, and doesn't stop others
>> from working the way they want to work.
>
> well, maybe "consistent" for all sets/perspectives is
> the part we're working on right now. :-)

current situation is

r.info
  -g   Print raster array information only
  -e   Print extended metadata information only

v.info
  -g   Print region info in shell script style
  -e   Print extended metadata info in shell script style

which forces to open discussion again. I would still incline to use
`-g` for shell script output as used in others modules. I have counted
more than 45 modules in trunk which use `-g` for shell script style
output. I don't see any reason why `r.info` or `v.info` should be
exceptions.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list