[GRASS-SVN] r54105 - grass/trunk/general/g.gui
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Nov 30 02:02:41 PST 2012
Author: martinl
Date: 2012-11-30 02:02:40 -0800 (Fri, 30 Nov 2012)
New Revision: 54105
Modified:
grass/trunk/general/g.gui/main.c
Log:
g.gui: more guisections
filemask for workspace
Modified: grass/trunk/general/g.gui/main.c
===================================================================
--- grass/trunk/general/g.gui/main.c 2012-11-30 09:32:36 UTC (rev 54104)
+++ grass/trunk/general/g.gui/main.c 2012-11-30 10:02:40 UTC (rev 54105)
@@ -51,20 +51,24 @@
_("command line interface only"));
type->descriptions = desc;
type->options = "wxpython,text";
-
+ type->guisection = _("Type");
+
rc_file = G_define_standard_option(G_OPT_F_INPUT);
rc_file->key = "workspace";
rc_file->required = NO;
+ rc_file->key_desc = "name.gxw";
rc_file->description = _("Name of workspace file to load on start-up (valid only for wxGUI)");
update = G_define_flag();
update->key = 'u';
update->description = _("Update default GUI setting");
+ update->guisection = _("Default");
nolaunch = G_define_flag();
nolaunch->key = 'n';
nolaunch->description =
_("Do not launch GUI after updating the default GUI setting");
+ nolaunch->guisection = _("Default");
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
More information about the grass-commit
mailing list