<p dir="ltr">Makes sense. Changing now. </p>
<div class="gmail_quote">On May 28, 2014 5:21 PM, "Martin Landa" <<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
2014-05-28 23:09 GMT+02:00 <<a href="mailto:svn_grass@osgeo.org">svn_grass@osgeo.org</a>>:<br>
> Author: hcho<br>
> Date: 2014-05-28 14:09:09 -0700 (Wed, 28 May 2014)<br>
> New Revision: 60563<br>
><br>
> Modified:<br>
> grass/trunk/raster/r.distance/defs.h<br>
> grass/trunk/raster/r.distance/main.c<br>
> grass/trunk/raster/r.distance/parse.c<br>
> grass/trunk/raster/r.distance/report.c<br>
> Log:<br>
> r.distance: -s/-r sort by distance implemented<br>
<br>
[...]<br>
<br>
> + sort = G_define_flag();<br>
> + sort->key = 's';<br>
> + sort->description = _("Sort by distance in ascending order");<br>
> +<br>
> + revsort = G_define_flag();<br>
> + revsort->key = 'r';<br>
> + revsort->description = _("Sort by distance in descending order");<br>
> +<br>
<br>
what about one option instead of two flags? See eg. `r.stats sort=`.<br>
Would nice to decrease the number of mutually exclusive options rather<br>
than increasing...<br>
<br>
Martin<br>
<br>
--<br>
Martin Landa * <a href="http://geo.fsv.cvut.cz/gwiki/Landa" target="_blank">http://geo.fsv.cvut.cz/gwiki/Landa</a><br>
</blockquote></div>