[GRASS-SVN] r63065 - grass/branches/releasebranch_7_0/raster/r.transect

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 07:09:36 PST 2014


Author: martinl
Date: 2014-11-26 07:09:36 -0800 (Wed, 26 Nov 2014)
New Revision: 63065

Modified:
   grass/branches/releasebranch_7_0/raster/r.transect/main.c
Log:
r.transect: use standardized options (#2409) - (merge r63064 from trunk)

Modified: grass/branches/releasebranch_7_0/raster/r.transect/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.transect/main.c	2014-11-26 15:07:32 UTC (rev 63064)
+++ grass/branches/releasebranch_7_0/raster/r.transect/main.c	2014-11-26 15:09:36 UTC (rev 63065)
@@ -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