[GRASS-SVN] r38704 - grass/branches/releasebranch_6_4/raster/r.sun2

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 13 01:07:50 EDT 2009


Author: hamish
Date: 2009-08-13 01:07:48 -0400 (Thu, 13 Aug 2009)
New Revision: 38704

Modified:
   grass/branches/releasebranch_6_4/raster/r.sun2/main.c
Log:
input ranges (backport from devbr6)

Modified: grass/branches/releasebranch_6_4/raster/r.sun2/main.c
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.sun2/main.c	2009-08-13 00:36:20 UTC (rev 38703)
+++ grass/branches/releasebranch_6_4/raster/r.sun2/main.c	2009-08-13 05:07:48 UTC (rev 38704)
@@ -440,6 +440,7 @@
     parm.day->type = TYPE_INTEGER;
     parm.day->required = YES;
     parm.day->description = _("No. of day of the year (1-365)");
+    parm.day->options = "1-365";
 
     parm.step = G_define_option();
     parm.step->key = "step";
@@ -463,6 +464,7 @@
     parm.ltime->required = NO;
     parm.ltime->description =
 	_("Local (solar) time (to be set for mode 1 only) [decimal hours]");
+    parm.ltime->options = "0-24";
 
     /*
      * parm.startTime = G_define_option();



More information about the grass-commit mailing list