[GRASS-SVN] r72231 - in grass/trunk: raster/r.drain raster/r.path scripts/r.drain
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Feb 11 23:56:19 PST 2018
Author: mmetz
Date: 2018-02-11 23:56:18 -0800 (Sun, 11 Feb 2018)
New Revision: 72231
Modified:
grass/trunk/raster/r.drain/main.c
grass/trunk/raster/r.path/main.c
grass/trunk/scripts/r.drain/r.drain.py
Log:
r.path/r.drain: accept multiple start coordinates
Modified: grass/trunk/raster/r.drain/main.c
===================================================================
--- grass/trunk/raster/r.drain/main.c 2018-02-11 21:39:35 UTC (rev 72230)
+++ grass/trunk/raster/r.drain/main.c 2018-02-12 07:56:18 UTC (rev 72231)
@@ -135,6 +135,7 @@
coordopt = G_define_standard_option(G_OPT_M_COORDS);
coordopt->key = "start_coordinates";
+ coordopt->multiple = YES;
coordopt->description = _("Coordinates of starting point(s) (E,N)");
coordopt->guisection = _("Start");
Modified: grass/trunk/raster/r.path/main.c
===================================================================
--- grass/trunk/raster/r.path/main.c 2018-02-11 21:39:35 UTC (rev 72230)
+++ grass/trunk/raster/r.path/main.c 2018-02-12 07:56:18 UTC (rev 72231)
@@ -178,6 +178,7 @@
coordopt = G_define_standard_option(G_OPT_M_COORDS);
coordopt->key = "start_coordinates";
+ coordopt->multiple = YES;
coordopt->description = _("Coordinates of starting point(s) (E,N)");
coordopt->guisection = _("Start");
Modified: grass/trunk/scripts/r.drain/r.drain.py
===================================================================
--- grass/trunk/scripts/r.drain/r.drain.py 2018-02-11 21:39:35 UTC (rev 72230)
+++ grass/trunk/scripts/r.drain/r.drain.py 2018-02-12 07:56:18 UTC (rev 72231)
@@ -68,7 +68,7 @@
#% key: start_coordinates
#% type: double
#% required: no
-#% multiple: no
+#% multiple: yes
#% key_desc: east,north
#% description: Coordinates of starting point(s) (E,N)
#% gisprompt: old,coords,coords
More information about the grass-commit
mailing list