[GRASS-dev] [GRASS-SVN] r61169 - grass/trunk/raster/r.clump

Huidae Cho grass4u at gmail.com
Wed Jul 16 04:16:34 PDT 2014


Markus, this is done in r61260.


On Sun, Jul 13, 2014 at 1:00 PM, Markus Neteler <neteler at osgeo.org> wrote:

> Hi,
>
> On Jul 7, 2014 5:21 PM, <svn_grass at osgeo.org> wrote:
> >
> > Author: hcho
> > Date: 2014-07-07 08:21:53 -0700 (Mon, 07 Jul 2014)
> > New Revision: 61169
> >
> > Modified:
> >    grass/trunk/raster/r.clump/clump.c
> >    grass/trunk/raster/r.clump/local_proto.h
> >    grass/trunk/raster/r.clump/main.c
> > Log:
> > r.clump: Add -p flag to print only the number of clumps in shell script
> style
> ...
> > Modified: grass/trunk/raster/r.clump/main.c
> > ===================================================================
> > --- grass/trunk/raster/r.clump/main.c   2014-07-07 14:07:29 UTC (rev
> 61168)
> > +++ grass/trunk/raster/r.clump/main.c   2014-07-07 15:21:53 UTC (rev
> 61169)
> ...
> > @@ -66,48 +68,59 @@
> >      flag_diag = G_define_flag();
> >      flag_diag->key = 'd';
> >      flag_diag->label = _("Clump also diagonal cells");
> > -    flag_diag->description = _("Clumps are also traced along diagonal
> neighboring cells");
> > +    flag_diag->description = _("Clumps are also traced along diagonal
> neighboring cells");
> >
> > +    flag_print = G_define_flag();
> > +    flag_print->key = 'p';
> > +    flag_print->label = _("Print only the number of clumps in shell
> script style");
> ...
>
> should this flag better be called -g for consistency?
>
> Markus
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140716/41e94234/attachment.html>


More information about the grass-dev mailing list