[GRASS-SVN] r62628 - grass/trunk/raster/r.shaded.relief

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 5 12:46:31 PST 2014


Author: martinl
Date: 2014-11-05 12:46:31 -0800 (Wed, 05 Nov 2014)
New Revision: 62628

Modified:
   grass/trunk/raster/r.shaded.relief/main.c
Log:
r.shaded.relief: remove non-standard output handling (default answer)
                 more guisections


Modified: grass/trunk/raster/r.shaded.relief/main.c
===================================================================
--- grass/trunk/raster/r.shaded.relief/main.c	2014-11-05 20:31:54 UTC (rev 62627)
+++ grass/trunk/raster/r.shaded.relief/main.c	2014-11-05 20:46:31 UTC (rev 62628)
@@ -112,9 +112,7 @@
     parm.elevation = G_define_standard_option(G_OPT_R_INPUT);
 
     parm.relief = G_define_standard_option(G_OPT_R_OUTPUT);
-    parm.relief->required = NO;
     parm.relief->label = _("Name for output shaded relief map");
-    parm.relief->description = _("Default: <input_map>.shade");
 
     parm.altitude = G_define_option();
     parm.altitude->key = "altitude";
@@ -123,6 +121,7 @@
     parm.altitude->answer = "30";
     parm.altitude->options = "0-90";
     parm.altitude->description = _("Altitude of the sun in degrees above the horizon");
+    parm.altitude->guisection = _("Sun position");
 
     parm.azimuth = G_define_option();
     parm.azimuth->key = "azimuth";
@@ -132,6 +131,7 @@
     parm.azimuth->options = "0-360";
     parm.azimuth->description =
 	_("Azimuth of the sun in degrees to the east of north");
+    parm.azimuth->guisection = _("Sun position");
 
     parm.zmult = G_define_option();
     parm.zmult->key = "zmult";



More information about the grass-commit mailing list