[GRASS-SVN] r63021 - grass/branches/releasebranch_7_0/raster/r.out.ascii

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 04:48:58 PST 2014


Author: martinl
Date: 2014-11-26 04:48:58 -0800 (Wed, 26 Nov 2014)
New Revision: 63021

Modified:
   grass/branches/releasebranch_7_0/raster/r.out.ascii/main.c
Log:
r.out.ascii: use standardized options (#2409) - (merge r63020 from trunk)

Modified: grass/branches/releasebranch_7_0/raster/r.out.ascii/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.out.ascii/main.c	2014-11-26 11:33:57 UTC (rev 63020)
+++ grass/branches/releasebranch_7_0/raster/r.out.ascii/main.c	2014-11-26 12:48:58 UTC (rev 63021)
@@ -85,10 +85,7 @@
     parm.width->description =
 	_("Number of values printed before wrapping a line (only SURFER or MODFLOW format)");
 
-    parm.null = G_define_option();
-    parm.null->key = "null";
-    parm.null->type = TYPE_STRING;
-    parm.null->required = NO;
+    parm.null = G_define_standard_option(G_OPT_M_NULL_VALUE);
     parm.null->answer = "*";
     parm.null->description =
 	_("String to represent null cell (GRASS grid only)");



More information about the grass-commit mailing list