[GRASS-SVN] r59927 - grass/branches/releasebranch_7_0/raster/r.out.ascii

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Apr 24 04:26:13 PDT 2014


Author: martinl
Date: 2014-04-24 04:26:12 -0700 (Thu, 24 Apr 2014)
New Revision: 59927

Modified:
   grass/branches/releasebranch_7_0/raster/r.out.ascii/main.c
Log:
Use the standard options (by hcho)
    (merge r59918 from trunk)     


Modified: grass/branches/releasebranch_7_0/raster/r.out.ascii/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.out.ascii/main.c	2014-04-24 11:25:20 UTC (rev 59926)
+++ grass/branches/releasebranch_7_0/raster/r.out.ascii/main.c	2014-04-24 11:26:12 UTC (rev 59927)
@@ -64,12 +64,7 @@
 
     /* Define the different options */
 
-    parm.map = G_define_option();
-    parm.map->key = "input";
-    parm.map->type = TYPE_STRING;
-    parm.map->required = YES;
-    parm.map->gisprompt = "old,cell,raster";
-    parm.map->description = _("Name of an existing raster map");
+    parm.map = G_define_standard_option(G_OPT_R_INPUT);
 
     parm.output = G_define_standard_option(G_OPT_F_OUTPUT);
     parm.output->required = NO;



More information about the grass-commit mailing list