Makes sense. Changing now. On May 28, 2014 5:21 PM, "Martin Landa" <[email protected]> wrote:
> Hi, > > 2014-05-28 23:09 GMT+02:00 <[email protected]>: > > Author: hcho > > Date: 2014-05-28 14:09:09 -0700 (Wed, 28 May 2014) > > New Revision: 60563 > > > > Modified: > > grass/trunk/raster/r.distance/defs.h > > grass/trunk/raster/r.distance/main.c > > grass/trunk/raster/r.distance/parse.c > > grass/trunk/raster/r.distance/report.c > > Log: > > r.distance: -s/-r sort by distance implemented > > [...] > > > + sort = G_define_flag(); > > + sort->key = 's'; > > + sort->description = _("Sort by distance in ascending order"); > > + > > + revsort = G_define_flag(); > > + revsort->key = 'r'; > > + revsort->description = _("Sort by distance in descending order"); > > + > > what about one option instead of two flags? See eg. `r.stats sort=`. > Would nice to decrease the number of mutually exclusive options rather > than increasing... > > Martin > > -- > Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa >
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
