[GRASS-SVN] r63069 - grass/branches/releasebranch_7_0/raster/r.what
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 26 07:14:01 PST 2014
Author: martinl
Date: 2014-11-26 07:14:01 -0800 (Wed, 26 Nov 2014)
New Revision: 63069
Modified:
grass/branches/releasebranch_7_0/raster/r.what/main.c
Log:
r.what: use standardized options (#2409) - (merge r63064 from trunk)
Modified: grass/branches/releasebranch_7_0/raster/r.what/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.what/main.c 2014-11-26 15:13:31 UTC (rev 63068)
+++ grass/branches/releasebranch_7_0/raster/r.what/main.c 2014-11-26 15:14:01 UTC (rev 63069)
@@ -115,12 +115,8 @@
opt.points->required = NO;
opt.points->guisection = _("Query");
- opt.null = G_define_option();
- opt.null->key = "null";
- opt.null->type = TYPE_STRING;
- opt.null->required = NO;
+ opt.null = G_define_standard_option(G_OPT_M_NULL_VALUE);
opt.null->answer = "*";
- opt.null->description = _("String to represent no data cell");
opt.null->guisection = _("Print");
opt.output = G_define_standard_option(G_OPT_F_OUTPUT);
More information about the grass-commit
mailing list