[GRASS-SVN] r36976 -
grass/branches/releasebranch_6_4/raster/r.resamp.rst
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon May 4 10:35:35 EDT 2009
Author: martinl
Date: 2009-05-04 10:35:35 -0400 (Mon, 04 May 2009)
New Revision: 36976
Modified:
grass/branches/releasebranch_6_4/raster/r.resamp.rst/main.c
Log:
r.resamp.rst: move 'elev' to output options
(merge from devbr6, r36975)
Modified: grass/branches/releasebranch_6_4/raster/r.resamp.rst/main.c
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.resamp.rst/main.c 2009-05-04 14:32:48 UTC (rev 36975)
+++ grass/branches/releasebranch_6_4/raster/r.resamp.rst/main.c 2009-05-04 14:35:35 UTC (rev 36976)
@@ -159,12 +159,7 @@
"different resolution) using regularized spline with "
"tension and smoothing.");
- parm.input = G_define_option();
- parm.input->key = "input";
- parm.input->type = TYPE_STRING;
- parm.input->required = YES;
- parm.input->gisprompt = "old,cell,raster";
- parm.input->description = _("Name of input raster map");
+ parm.input = G_define_standard_option(G_OPT_R_INPUT);
parm.res_ew = G_define_option();
parm.res_ew->key = "ew_res";
@@ -184,6 +179,7 @@
parm.elev->required = NO;
parm.elev->gisprompt = "new,cell,raster";
parm.elev->description = _("Output z-file (elevation) map");
+ parm.elev->guisection = _("Output_options");
parm.slope = G_define_option();
parm.slope->key = "slope";
More information about the grass-commit
mailing list