[GRASS-SVN] r44011 -
grass/branches/releasebranch_6_4/general/g.mapsets
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Oct 24 04:04:44 EDT 2010
Author: martinl
Date: 2010-10-24 01:04:44 -0700 (Sun, 24 Oct 2010)
New Revision: 44011
Modified:
grass/branches/releasebranch_6_4/general/g.mapsets/main.c
Log:
g.mapsets: more guisections
(merge r44009 from trunk)
Modified: grass/branches/releasebranch_6_4/general/g.mapsets/main.c
===================================================================
--- grass/branches/releasebranch_6_4/general/g.mapsets/main.c 2010-10-24 08:04:27 UTC (rev 44010)
+++ grass/branches/releasebranch_6_4/general/g.mapsets/main.c 2010-10-24 08:04:44 UTC (rev 44011)
@@ -68,14 +68,16 @@
opt.mapset->required = NO;
opt.mapset->multiple = YES;
opt.mapset->description = _("Name(s) of existing mapset(s)");
-
+ opt.mapset->guisection = _("Search path");
+
opt.add = G_define_option();
opt.add->key = "addmapset";
opt.add->type = TYPE_STRING;
opt.add->required = NO;
opt.add->multiple = YES;
opt.add->description =
- _("Name(s) of existing mapset(s) to add to search list");
+ _("Name(s) of existing mapset(s) to add to search path");
+ opt.add->guisection = _("Search path");
opt.remove = G_define_option();
opt.remove->key = "removemapset";
@@ -83,8 +85,9 @@
opt.remove->required = NO;
opt.remove->multiple = YES;
opt.remove->description =
- _("Name(s) of existing mapset(s) to remove from search list");
-
+ _("Name(s) of existing mapset(s) to remove from search path");
+ opt.remove->guisection = _("Search path");
+
opt.fs = G_define_standard_option(G_OPT_F_SEP);
opt.fs->label = _("Field separator");
opt.fs->description = _("Special characters: newline, space, comma, tab");
@@ -93,10 +96,12 @@
opt.list = G_define_flag();
opt.list->key = 'l';
opt.list->description = _("List all available mapsets");
+ opt.list->guisection = _("Print");
opt.print = G_define_flag();
opt.print->key = 'p';
opt.print->description = _("Print current mapset search path");
+ opt.print->guisection = _("Print");
opt.dialog = G_define_flag();
opt.dialog->key = 's';
More information about the grass-commit
mailing list