Hi, 2011/11/14 Glynn Clements <gl...@gclements.plus.com>: > Martin Landa wrote: > >> I highly *disagree* with this revert! Merging very specific options >> which just prints one information to generic `-g` is a good idea (from >> my POV). Please don't revert the commits which are just against your >> *personal* taste! What's the opinion of other developers? > > Having "-g" for "dump everything, key=value format" is a good idea. > > Having additional options to dump specific pieces of information may > be worthwhile, particularly if some items require non-trivial effort > to retrieve. Even if it doesn't seem particularly useful, it is at > least harmless.
Thats indeed the best solution. Lets use this idea as design decision. I think r.univar is a good example. Extended stats are computed only when specified, because of its additional computation effort and memory usage. The output is added automatically to shell style output in case "-g" is specified. Modules: * g.region is ok * r.info, v..info and r3.info can be reduced to use only the "-g" flag to print all info in shell style * ... ? Best regards Soeren > > -- > Glynn Clements <gl...@gclements.plus.com> > _______________________________________________ > grass-dev mailing list > grass-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/grass-dev > _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev