[GRASS-SVN] r63063 - grass/branches/releasebranch_7_0/raster/r.texture

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 06:49:57 PST 2014


Author: martinl
Date: 2014-11-26 06:49:56 -0800 (Wed, 26 Nov 2014)
New Revision: 63063

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

Modified: grass/branches/releasebranch_7_0/raster/r.texture/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.texture/main.c	2014-11-26 14:44:29 UTC (rev 63062)
+++ grass/branches/releasebranch_7_0/raster/r.texture/main.c	2014-11-26 14:49:56 UTC (rev 63063)
@@ -110,11 +110,7 @@
 
     opt_input = G_define_standard_option(G_OPT_R_INPUT);
 
-    opt_output = G_define_option();
-    opt_output->key = "prefix";
-    opt_output->type = TYPE_STRING;
-    opt_output->required = YES;
-    opt_output->description = _("Prefix for output raster map(s)");
+    opt_output = G_define_standard_option(G_OPT_R_BASENAME_OUTPUT);
 
     opt_size = G_define_option();
     opt_size->key = "size";



More information about the grass-commit mailing list