[GRASS-SVN] r59918 - grass/trunk/raster/r.out.ascii

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Apr 24 02:55:44 PDT 2014


Author: hcho
Date: 2014-04-24 02:55:43 -0700 (Thu, 24 Apr 2014)
New Revision: 59918

Modified:
   grass/trunk/raster/r.out.ascii/main.c
Log:
Use the standard options

Modified: grass/trunk/raster/r.out.ascii/main.c
===================================================================
--- grass/trunk/raster/r.out.ascii/main.c	2014-04-24 09:35:25 UTC (rev 59917)
+++ grass/trunk/raster/r.out.ascii/main.c	2014-04-24 09:55:43 UTC (rev 59918)
@@ -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