[GRASS-SVN] r62996 - grass/branches/releasebranch_7_0/raster/r.circle
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 26 02:30:41 PST 2014
Author: martinl
Date: 2014-11-26 02:30:41 -0800 (Wed, 26 Nov 2014)
New Revision: 62996
Modified:
grass/branches/releasebranch_7_0/raster/r.circle/main.c
Log:
r.circle: use standardized options (#2409) - (merge r62995 from trunk)
Modified: grass/branches/releasebranch_7_0/raster/r.circle/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.circle/main.c 2014-11-26 10:29:41 UTC (rev 62995)
+++ grass/branches/releasebranch_7_0/raster/r.circle/main.c 2014-11-26 10:30:41 UTC (rev 62996)
@@ -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