[GRASS-SVN] r58693 - grass/trunk/raster/r.los
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jan 12 18:51:32 PST 2014
Author: wenzeslaus
Date: 2014-01-12 18:51:32 -0800 (Sun, 12 Jan 2014)
New Revision: 58693
Modified:
grass/trunk/raster/r.los/main.c
Log:
r.los: use standard coordinates (G_OPT_M_COORDS) option instead of custom coordinate, change wording of the options description (to more simple one)
Modified: grass/trunk/raster/r.los/main.c
===================================================================
--- grass/trunk/raster/r.los/main.c 2014-01-13 00:01:56 UTC (rev 58692)
+++ grass/trunk/raster/r.los/main.c 2014-01-13 02:51:32 UTC (rev 58693)
@@ -102,12 +102,9 @@
opt7 = G_define_standard_option(G_OPT_R_OUTPUT);
- opt3 = G_define_option();
- opt3->key = "coordinate";
- opt3->type = TYPE_STRING;
+ opt3 = G_define_standard_option(G_OPT_M_COORDS);
opt3->required = YES;
- opt3->key_desc = "x,y";
- opt3->description = _("Coordinate identifying the viewing position");
+ opt3->description = _("Coordinates of the viewing position");
opt2 = G_define_standard_option(G_OPT_R_COVER);
opt2->key = "patt_map";
More information about the grass-commit
mailing list