[GRASS-SVN] r63081 - in grass/trunk: display/d.rast.num raster/r.out.ascii raster/r.out.vtk
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 26 07:45:06 PST 2014
Author: martinl
Date: 2014-11-26 07:45:06 -0800 (Wed, 26 Nov 2014)
New Revision: 63081
Modified:
grass/trunk/display/d.rast.num/main.c
grass/trunk/raster/r.out.ascii/main.c
grass/trunk/raster/r.out.vtk/parameters.c
Log:
dp -> precision (#2049) - standardized options
Modified: grass/trunk/display/d.rast.num/main.c
===================================================================
--- grass/trunk/display/d.rast.num/main.c 2014-11-26 15:42:22 UTC (rev 63080)
+++ grass/trunk/display/d.rast.num/main.c 2014-11-26 15:45:06 UTC (rev 63081)
@@ -98,7 +98,7 @@
opt.grid_color->guisection = _("Colors");
opt.prec = G_define_option();
- opt.prec->key = "dp";
+ opt.prec->key = "precision";
opt.prec->type = TYPE_INTEGER;
opt.prec->required = NO;
opt.prec->answer = "1";
Modified: grass/trunk/raster/r.out.ascii/main.c
===================================================================
--- grass/trunk/raster/r.out.ascii/main.c 2014-11-26 15:42:22 UTC (rev 63080)
+++ grass/trunk/raster/r.out.ascii/main.c 2014-11-26 15:45:06 UTC (rev 63081)
@@ -72,7 +72,7 @@
_("Name for output ASCII grid map (use out=- for stdout)");
parm.dp = G_define_option();
- parm.dp->key = "dp";
+ parm.dp->key = "precision";
parm.dp->type = TYPE_INTEGER;
parm.dp->required = NO;
parm.dp->description =
Modified: grass/trunk/raster/r.out.vtk/parameters.c
===================================================================
--- grass/trunk/raster/r.out.vtk/parameters.c 2014-11-26 15:42:22 UTC (rev 63080)
+++ grass/trunk/raster/r.out.vtk/parameters.c 2014-11-26 15:45:06 UTC (rev 63081)
@@ -79,7 +79,7 @@
_("Three (x,y,z) raster maps to create vector values [xmap,ymap,zmap]");
param.elevscale = G_define_option();
- param.elevscale->key = "elevscale";
+ param.elevscale->key = "zmultiplier";
param.elevscale->type = TYPE_DOUBLE;
param.elevscale->required = NO;
param.elevscale->description = _("Scale factor for elevation");
@@ -87,7 +87,7 @@
param.elevscale->answer = "1.0";
param.decimals = G_define_option();
- param.decimals->key = "dp";
+ param.decimals->key = "precision";
param.decimals->type = TYPE_INTEGER;
param.decimals->required = NO;
param.decimals->multiple = NO;
More information about the grass-commit
mailing list