[GRASS-SVN] r63007 - grass/trunk/raster/r.horizon
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 26 02:50:45 PST 2014
Author: martinl
Date: 2014-11-26 02:50:45 -0800 (Wed, 26 Nov 2014)
New Revision: 63007
Modified:
grass/trunk/raster/r.horizon/main.c
Log:
r.horizon use standardized options (#2409)
Modified: grass/trunk/raster/r.horizon/main.c
===================================================================
--- grass/trunk/raster/r.horizon/main.c 2014-11-26 10:45:31 UTC (rev 63006)
+++ grass/trunk/raster/r.horizon/main.c 2014-11-26 10:50:45 UTC (rev 63007)
@@ -283,11 +283,7 @@
parm.horizon->guisection = _("Output options");
- parm.coord = G_define_option();
- parm.coord->key = "coordinate";
- parm.coord->type = TYPE_DOUBLE;
- parm.coord->key_desc = "east,north";
- parm.coord->required = NO;
+ parm.coord = G_define_standard_option(G_OPT_M_COORDS);
parm.coord->description =
_("Coordinate for which you want to calculate the horizon");
parm.coord->guisection = _("Output options");
@@ -301,6 +297,7 @@
parm.dist->guisection = _("Output options");
parm.output = G_define_standard_option(G_OPT_F_OUTPUT);
+ parm.output->key = "file";
parm.output->required = NO;
parm.output->answer = "-";
parm.output->description =
More information about the grass-commit
mailing list