[GRASS-SVN] r50697 - grass/trunk/raster/r.rescale

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 6 09:27:27 EST 2012


Author: hamish
Date: 2012-02-06 06:27:27 -0800 (Mon, 06 Feb 2012)
New Revision: 50697

Modified:
   grass/trunk/raster/r.rescale/main.c
Log:
revert r5069, the paired input is controlled by key_desc. multiple=YES would mean it should take multiple pairs (e.g. see r.transect line=)

Modified: grass/trunk/raster/r.rescale/main.c
===================================================================
--- grass/trunk/raster/r.rescale/main.c	2012-02-06 13:57:05 UTC (rev 50696)
+++ grass/trunk/raster/r.rescale/main.c	2012-02-06 14:27:27 UTC (rev 50697)
@@ -64,7 +64,6 @@
     parm.from->key_desc = "min,max";
     parm.from->type = TYPE_INTEGER;
     parm.from->required = NO;
-    parm.from->multiple = YES;
     parm.from->description =
 	_("The input data range to be rescaled (default: full range of input map)");
 
@@ -80,7 +79,6 @@
     parm.to->key_desc = "min,max";
     parm.to->type = TYPE_INTEGER;
     parm.to->required = YES;
-    parm.to->multiple = YES;
     parm.to->description = _("The output data range");
 
     parm.title = G_define_option();



More information about the grass-commit mailing list