[GRASS-SVN] r63054 - grass/branches/releasebranch_7_0/raster/r.slope.aspect

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 06:13:44 PST 2014


Author: martinl
Date: 2014-11-26 06:13:44 -0800 (Wed, 26 Nov 2014)
New Revision: 63054

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

Modified: grass/branches/releasebranch_7_0/raster/r.slope.aspect/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.slope.aspect/main.c	2014-11-26 14:11:22 UTC (rev 63053)
+++ grass/branches/releasebranch_7_0/raster/r.slope.aspect/main.c	2014-11-26 14:13:44 UTC (rev 63054)
@@ -187,14 +187,14 @@
     parm.out_precision->guisection = _("Settings");
 
     parm.pcurv = G_define_standard_option(G_OPT_R_OUTPUT);
-    parm.pcurv->key = "pcurv";
+    parm.pcurv->key = "pcurvature";
     parm.pcurv->required = NO;
     parm.pcurv->description =
 	_("Name for output profile curvature raster map");
     parm.pcurv->guisection = _("Outputs");
 
     parm.tcurv = G_define_standard_option(G_OPT_R_OUTPUT);
-    parm.tcurv->key = "tcurv";
+    parm.tcurv->key = "tcurvature";
     parm.tcurv->required = NO;
     parm.tcurv->description =
 	_("Name for output tangential curvature raster map");
@@ -236,7 +236,7 @@
     parm.dxy->guisection = _("Outputs");
 
     parm.zfactor = G_define_option();
-    parm.zfactor->key = "zfactor";
+    parm.zfactor->key = "zmultiplier";
     parm.zfactor->description =
 	_("Multiplicative factor to convert elevation units to meters");
     parm.zfactor->type = TYPE_DOUBLE;
@@ -245,7 +245,7 @@
     parm.zfactor->guisection = _("Settings");
 
     parm.min_slp_allowed = G_define_option();
-    parm.min_slp_allowed->key = "min_slp_allowed";
+    parm.min_slp_allowed->key = "min_slope";
     parm.min_slp_allowed->description =
 	_("Minimum slope value (in percent) for which aspect is computed");
     parm.min_slp_allowed->type = TYPE_DOUBLE;



More information about the grass-commit mailing list