فهرست منبع

g.gui: more guisections
filemask for workspace


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54105 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 12 سال پیش
والد
کامیت
f1ca9ac492
1فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 5 1
      general/g.gui/main.c

+ 5 - 1
general/g.gui/main.c

@@ -51,20 +51,24 @@ int main(int argc, char *argv[])
 	        _("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);