[GRASS-SVN] r63013 - grass/trunk/raster/r.in.ascii
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 26 03:21:10 PST 2014
Author: martinl
Date: 2014-11-26 03:21:10 -0800 (Wed, 26 Nov 2014)
New Revision: 63013
Modified:
grass/trunk/raster/r.in.ascii/main.c
Log:
r.in.ascii use standardized options (#2409)
Modified: grass/trunk/raster/r.in.ascii/main.c
===================================================================
--- grass/trunk/raster/r.in.ascii/main.c 2014-11-26 11:20:46 UTC (rev 63012)
+++ grass/trunk/raster/r.in.ascii/main.c 2014-11-26 11:21:10 UTC (rev 63013)
@@ -102,11 +102,7 @@
parm.mult->required = NO;
parm.mult->label = _("Multiplier for ASCII data");
- parm.nv = G_define_option();
- parm.nv->key = "null_value";
- parm.nv->type = TYPE_STRING;
- parm.nv->required = NO;
- parm.nv->multiple = NO;
+ parm.nv = G_define_standard_option(G_OPT_M_NULL_VALUE);
parm.nv->description = _("Default: read from header");
parm.nv->label = _("String representing NULL value data cell");
parm.nv->guisection = _("NULL data");
More information about the grass-commit
mailing list