[GRASS-SVN] r36975 -
grass/branches/develbranch_6/raster/r.resamp.rst
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon May 4 10:32:48 EDT 2009
Author: martinl
Date: 2009-05-04 10:32:48 -0400 (Mon, 04 May 2009)
New Revision: 36975
Modified:
grass/branches/develbranch_6/raster/r.resamp.rst/main.c
Log:
r.resamp.rst: move 'elev' to output options
Modified: grass/branches/develbranch_6/raster/r.resamp.rst/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.resamp.rst/main.c 2009-05-04 07:59:26 UTC (rev 36974)
+++ grass/branches/develbranch_6/raster/r.resamp.rst/main.c 2009-05-04 14:32:48 UTC (rev 36975)
@@ -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