[GRASS-SVN] r63064 - grass/trunk/raster/r.transect
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 26 07:07:32 PST 2014
Author: martinl
Date: 2014-11-26 07:07:32 -0800 (Wed, 26 Nov 2014)
New Revision: 63064
Modified:
grass/trunk/raster/r.transect/main.c
Log:
r.transect: use standardized options (#2409)
Modified: grass/trunk/raster/r.transect/main.c
===================================================================
--- grass/trunk/raster/r.transect/main.c 2014-11-26 14:49:56 UTC (rev 63063)
+++ grass/trunk/raster/r.transect/main.c 2014-11-26 15:07:32 UTC (rev 63064)
@@ -117,12 +117,8 @@
parms.line->required = YES;
parms.line->multiple = YES;
- parms.null_str = G_define_option();
- parms.null_str->key = "null";
- parms.null_str->type = TYPE_STRING;
- parms.null_str->required = NO;
+ parms.null_str = G_define_standard_option(G_OPT_M_NULL_VALUE);
parms.null_str->answer = "*";
- parms.null_str->description = _("Char string to represent no data cell");
coord = G_define_flag();
coord->key = 'g';
More information about the grass-commit
mailing list