Browse Source

g.version: improve module description
more guisections added


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

Martin Landa 13 years ago
parent
commit
697b19c24f
1 changed files with 6 additions and 2 deletions
  1. 6 2
      general/g.version/main.c

+ 6 - 2
general/g.version/main.c

@@ -42,25 +42,29 @@ int main(int argc, char *argv[])
     module = G_define_module();
     G_add_keyword(_("general"));
     G_add_keyword(_("version"));
-    module->description = _("Displays version and copyright information.");
+    module->description = _("Displays GRASS version and copyright information.");
 
     copyright = G_define_flag();
     copyright->key = 'c';
     copyright->description = _("Print also the copyright message");
+    copyright->guisection = _("Additional info");
 
     build = G_define_flag();
     build->key = 'b';
     build->description = _("Print also the GRASS build information");
+    build->guisection = _("Additional info");
 
     gish_rev = G_define_flag();
     gish_rev->key = 'r';
     gish_rev->description =
 	_("Print also the GIS library revision number and time");
+    gish_rev->guisection = _("Additional info");
 
     shell = G_define_flag();
     shell->key = 'g';
     shell->description = _("Print info in shell script style (including SVN revision number)");
-    
+    shell->guisection = _("Shell");
+
     if (G_parser(argc, argv))
 	exit(EXIT_FAILURE);