[GRASS-SVN] r62992 - grass/branches/releasebranch_7_0/raster/r.category

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 02:25:21 PST 2014


Author: martinl
Date: 2014-11-26 02:25:21 -0800 (Wed, 26 Nov 2014)
New Revision: 62992

Modified:
   grass/branches/releasebranch_7_0/raster/r.category/main.c
Log:
r.category: use standardized options (#2409) - (merge r62991 from trunk)

Modified: grass/branches/releasebranch_7_0/raster/r.category/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.category/main.c	2014-11-26 10:23:00 UTC (rev 62991)
+++ grass/branches/releasebranch_7_0/raster/r.category/main.c	2014-11-26 10:25:21 UTC (rev 62992)
@@ -62,7 +62,7 @@
     parm.cats->guisection = _("Selection");
 
     parm.vals = G_define_option();
-    parm.vals->key = "vals";
+    parm.vals->key = "values";
     parm.vals->type = TYPE_DOUBLE;
     parm.vals->multiple = YES;
     parm.vals->required = NO;
@@ -74,7 +74,7 @@
     parm.fs->answer = "tab";
 
     parm.raster = G_define_standard_option(G_OPT_R_INPUT);
-    parm.raster->key = "raster";
+    parm.raster->key = "rast";
     parm.raster->required = NO;
     parm.raster->description =
 	_("Raster map from which to copy category table");



More information about the grass-commit mailing list