Sfoglia il codice sorgente

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 anni fa
parent
commit
17705388c8
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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)