Browse Source

libgis: define gisprompt also for G_OPT_V_CAT(S)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@64276 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 years ago
parent
commit
ba2f35516c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib/gis/parser_standard_options.c

+ 2 - 0
lib/gis/parser_standard_options.c

@@ -529,6 +529,7 @@ struct Option *G_define_standard_option(int opt)
 	Opt->type = TYPE_INTEGER;
 	Opt->required = NO;
 	Opt->description = _("Category value");
+        Opt->gisprompt = "old,cat,cats";
 	break;
     case G_OPT_V_CATS:
 	Opt->key = "cats";
@@ -537,6 +538,7 @@ struct Option *G_define_standard_option(int opt)
 	Opt->required = NO;
 	Opt->label = _("Category values");
 	Opt->description = _("Example: 1,3,7-9,13");
+        Opt->gisprompt = "old,cats,cats";
 	break;
     case G_OPT_V_ID:
 	Opt->key = "id";