<div dir="ltr">Markus, this is done in r61260.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jul 13, 2014 at 1:00 PM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div class=""><br>
On Jul 7, 2014 5:21 PM, <<a href="mailto:svn_grass@osgeo.org">svn_grass@osgeo.org</a>> wrote:<br>
><br>
> Author: hcho<br>
> Date: 2014-07-07 08:21:53 -0700 (Mon, 07 Jul 2014)<br>
> New Revision: 61169<br>
><br>
> Modified:<br>
> grass/trunk/raster/r.clump/clump.c<br>
> grass/trunk/raster/r.clump/local_proto.h<br>
> grass/trunk/raster/r.clump/main.c<br>
> Log:<br>
> r.clump: Add -p flag to print only the number of clumps in shell script style<br>
</div>...<br>
<div class="">> Modified: grass/trunk/raster/r.clump/main.c<br>
> ===================================================================<br>
> --- grass/trunk/raster/r.clump/main.c 2014-07-07 14:07:29 UTC (rev 61168)<br>
> +++ grass/trunk/raster/r.clump/main.c 2014-07-07 15:21:53 UTC (rev 61169)<br>
</div>...<br>
<div class="">> @@ -66,48 +68,59 @@<br>
> flag_diag = G_define_flag();<br>
> flag_diag->key = 'd';<br>
> flag_diag->label = _("Clump also diagonal cells");<br>
> - flag_diag->description = _("Clumps are also traced along diagonal neighboring cells");<br>
> + flag_diag->description = _("Clumps are also traced along diagonal neighboring cells");<br>
><br>
> + flag_print = G_define_flag();<br>
> + flag_print->key = 'p';<br>
> + flag_print->label = _("Print only the number of clumps in shell script style");<br>
</div>...<br>
<br>
should this flag better be called -g for consistency?<br>
<br>
Markus<br>
_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
</blockquote></div><br></div>