浏览代码

g.parser: support G_OPT_M_REGION

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58700 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 年之前
父节点
当前提交
17705388c8
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      general/g.parser/standard_option.c

+ 2 - 0
general/g.parser/standard_option.c

@@ -108,6 +108,8 @@ struct Option *define_standard_option(const char *name)
 	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)