[GRASS-SVN] r62995 - grass/trunk/raster/r.circle

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 02:29:41 PST 2014


Author: martinl
Date: 2014-11-26 02:29:41 -0800 (Wed, 26 Nov 2014)
New Revision: 62995

Modified:
   grass/trunk/raster/r.circle/main.c
Log:
r.circle use standardized options (#2409)

Modified: grass/trunk/raster/r.circle/main.c
===================================================================
--- grass/trunk/raster/r.circle/main.c	2014-11-26 10:27:09 UTC (rev 62994)
+++ grass/trunk/raster/r.circle/main.c	2014-11-26 10:29:41 UTC (rev 62995)
@@ -56,11 +56,8 @@
 
     out_file = G_define_standard_option(G_OPT_R_OUTPUT);
 
-    coord = G_define_option();
-    coord->key = "coordinate";
-    coord->type = TYPE_STRING;
+    coord = G_define_standard_option(G_OPT_M_COORDS);
     coord->required = YES;
-    coord->key_desc = "x,y";
     coord->description = _("The coordinate of the center (east,north)");
 
     min = G_define_option();
@@ -76,7 +73,7 @@
     max->description = _("Maximum radius for ring/circle map (in meters)");
 
     mult = G_define_option();
-    mult->key = "mult";
+    mult->key = "multiplier";
     mult->type = TYPE_DOUBLE;
     mult->required = NO;
     mult->description = _("Data value multiplier");



More information about the grass-commit mailing list