[GRASS-SVN] r63020 - grass/trunk/raster/r.out.ascii
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 26 03:33:57 PST 2014
Author: martinl
Date: 2014-11-26 03:33:57 -0800 (Wed, 26 Nov 2014)
New Revision: 63020
Modified:
grass/trunk/raster/r.out.ascii/main.c
Log:
r.out.ascii use standardized options (#2409)
Modified: grass/trunk/raster/r.out.ascii/main.c
===================================================================
--- grass/trunk/raster/r.out.ascii/main.c 2014-11-26 11:30:51 UTC (rev 63019)
+++ grass/trunk/raster/r.out.ascii/main.c 2014-11-26 11:33:57 UTC (rev 63020)
@@ -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