[GRASS-SVN] r63079 - grass/trunk/raster3d/r3.out.ascii
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 26 07:39:23 PST 2014
Author: martinl
Date: 2014-11-26 07:39:23 -0800 (Wed, 26 Nov 2014)
New Revision: 63079
Modified:
grass/trunk/raster3d/r3.out.ascii/main.c
Log:
r3.out.ascii: use standardized options (#2409)
Modified: grass/trunk/raster3d/r3.out.ascii/main.c
===================================================================
--- grass/trunk/raster3d/r3.out.ascii/main.c 2014-11-26 15:37:21 UTC (rev 63078)
+++ grass/trunk/raster3d/r3.out.ascii/main.c 2014-11-26 15:39:23 UTC (rev 63079)
@@ -85,7 +85,7 @@
param.output->description = _("Name for ASCII output file");
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;
@@ -93,11 +93,7 @@
param.decimals->options = "0-20";
param.decimals->description = _("Number of decimal places for floats");
- param.null_val = G_define_option();
- param.null_val->key = "null";
- param.null_val->type = TYPE_STRING;
- param.null_val->required = NO;
- param.null_val->description = _("Char string to represent no data cell");
+ param.null_val = G_define_standard_option(G_OPT_M_NULL_VALUE);
param.null_val->answer = "*";
param.header = G_define_flag();
More information about the grass-commit
mailing list