[GRASS-SVN] r63029 - grass/branches/releasebranch_7_0/raster/r.profile
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 26 05:09:29 PST 2014
Author: martinl
Date: 2014-11-26 05:09:29 -0800 (Wed, 26 Nov 2014)
New Revision: 63029
Modified:
grass/branches/releasebranch_7_0/raster/r.profile/main.c
Log:
r.profile: use standardized options (#2409) - (merge r63026 from trunk)
Modified: grass/branches/releasebranch_7_0/raster/r.profile/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.profile/main.c 2014-11-26 13:08:29 UTC (rev 63028)
+++ grass/branches/releasebranch_7_0/raster/r.profile/main.c 2014-11-26 13:09:29 UTC (rev 63029)
@@ -84,12 +84,8 @@
parm.res->description =
_("Resolution along profile (default = current region resolution)");
- parm.null_str = G_define_option();
- parm.null_str->key = "null";
- parm.null_str->type = TYPE_STRING;
- parm.null_str->required = NO;
+ parm.null_str = G_define_standard_option(G_OPT_M_NULL_VALUE);
parm.null_str->answer = "*";
- parm.null_str->description = _("Character to represent no data cell");
parm.g = G_define_flag();
parm.g->key = 'g';
More information about the grass-commit
mailing list