[GRASS-SVN] r59052 - grass/trunk/raster/r.profile

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Feb 14 07:29:50 PST 2014


Author: wenzeslaus
Date: 2014-02-14 07:29:49 -0800 (Fri, 14 Feb 2014)
New Revision: 59052

Modified:
   grass/trunk/raster/r.profile/main.c
Log:
r.profile: make profile option a standard option G_OPT_M_COORDS (mouse can be now used to input coordinates when started from GUI)

Modified: grass/trunk/raster/r.profile/main.c
===================================================================
--- grass/trunk/raster/r.profile/main.c	2014-02-14 15:07:22 UTC (rev 59051)
+++ grass/trunk/raster/r.profile/main.c	2014-02-14 15:29:49 UTC (rev 59052)
@@ -60,9 +60,8 @@
     parm.output->description =
 	_("Name of file for output (use output=- for stdout)");
 
-    parm.profile = G_define_option();
+    parm.profile = G_define_standard_option(G_OPT_M_COORDS);
     parm.profile->key = "profile";
-    parm.profile->type = TYPE_STRING;
     parm.profile->required = NO;
     parm.profile->multiple = YES;
     parm.profile->key_desc = "east,north";



More information about the grass-commit mailing list