[GRASS-SVN] r72882 - grass-addons/grass7/raster/r.accumulate
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jun 22 14:28:48 PDT 2018
Author: hcho
Date: 2018-06-22 14:28:48 -0700 (Fri, 22 Jun 2018)
New Revision: 72882
Modified:
grass-addons/grass7/raster/r.accumulate/main.c
Log:
r.accumulate: Use description instead of label
Modified: grass-addons/grass7/raster/r.accumulate/main.c
===================================================================
--- grass-addons/grass7/raster/r.accumulate/main.c 2018-06-22 20:23:47 UTC (rev 72881)
+++ grass-addons/grass7/raster/r.accumulate/main.c 2018-06-22 21:28:48 UTC (rev 72882)
@@ -51,7 +51,7 @@
("Calculates weighted flow accumulation using a flow direction map.");
opt.dir = G_define_standard_option(G_OPT_R_INPUT);
- opt.dir->label = _("Name of input direction map");
+ opt.dir->description = _("Name of input direction map");
opt.format = G_define_option();
opt.format->type = TYPE_STRING;
@@ -70,11 +70,11 @@
opt.weight = G_define_standard_option(G_OPT_R_INPUT);
opt.weight->key = "weight";
opt.weight->required = NO;
- opt.weight->label = _("Name of input flow weight map");
+ opt.weight->description = _("Name of input flow weight map");
opt.acc = G_define_standard_option(G_OPT_R_OUTPUT);
opt.acc->type = TYPE_STRING;
- opt.acc->label = _("Name for output weighted flow accumulation map");
+ opt.acc->description = _("Name for output weighted flow accumulation map");
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
More information about the grass-commit
mailing list