[GRASS-SVN] r63075 - grass/branches/releasebranch_7_0/raster3d/r3.in.ascii

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 07:32:10 PST 2014


Author: martinl
Date: 2014-11-26 07:32:10 -0800 (Wed, 26 Nov 2014)
New Revision: 63075

Modified:
   grass/branches/releasebranch_7_0/raster3d/r3.in.ascii/main.c
Log:
r3.in.ascii: use standardized options (#2409) - (merge r63074 from trunk)

Modified: grass/branches/releasebranch_7_0/raster3d/r3.in.ascii/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster3d/r3.in.ascii/main.c	2014-11-26 15:30:23 UTC (rev 63074)
+++ grass/branches/releasebranch_7_0/raster3d/r3.in.ascii/main.c	2014-11-26 15:32:10 UTC (rev 63075)
@@ -84,11 +84,7 @@
 
     param.output = G_define_standard_option(G_OPT_R3_OUTPUT);
 
-    param.nv = G_define_option();
-    param.nv->key = "nv";
-    param.nv->type = TYPE_STRING;
-    param.nv->required = NO;
-    param.nv->multiple = NO;
+    param.nv = G_define_standard_option(G_OPT_M_NULL_VALUE);
     param.nv->answer = "*";
     param.nv->description =  /* TODO: '*' or 'none' in the msg ?? */
 	_("String representing NULL value data cell (use 'none' if no such value)");



More information about the grass-commit mailing list