[GRASS-SVN] r58700 - grass/trunk/general/g.parser

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 13 05:05:08 PST 2014


Author: martinl
Date: 2014-01-13 05:05:08 -0800 (Mon, 13 Jan 2014)
New Revision: 58700

Modified:
   grass/trunk/general/g.parser/standard_option.c
Log:
g.parser: support G_OPT_M_REGION

Modified: grass/trunk/general/g.parser/standard_option.c
===================================================================
--- grass/trunk/general/g.parser/standard_option.c	2014-01-13 12:50:23 UTC (rev 58699)
+++ grass/trunk/general/g.parser/standard_option.c	2014-01-13 13:05:08 UTC (rev 58700)
@@ -108,6 +108,8 @@
 	key = G_OPT_M_MAPSET;
     else if (G_strcasecmp(name, "G_OPT_M_COORDS") == 0)
 	key = G_OPT_M_COORDS;
+    else if (G_strcasecmp(name, "G_OPT_M_REGION") == 0)
+	key = G_OPT_M_REGION;
     else if (G_strcasecmp(name, "G_OPT_V_MAP") == 0)
 	key = G_OPT_V_MAP;
     else if (G_strcasecmp(name, "G_OPT_STDS_INPUT") == 0)



More information about the grass-commit mailing list