[GRASS-SVN] r48419 - grass/trunk/general/g.access

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 23 09:55:51 EDT 2011


Author: martinl
Date: 2011-09-23 06:55:51 -0700 (Fri, 23 Sep 2011)
New Revision: 48419

Modified:
   grass/trunk/general/g.access/main.c
Log:
g.access: more guisections


Modified: grass/trunk/general/g.access/main.c
===================================================================
--- grass/trunk/general/g.access/main.c	2011-09-22 23:09:26 UTC (rev 48418)
+++ grass/trunk/general/g.access/main.c	2011-09-23 13:55:51 UTC (rev 48419)
@@ -8,7 +8,7 @@
  *               Glynn Clements <glynn gclements.plus.com>,
  *               Hamish Bowman <hamish_b yahoo.com>, Radim Blazek <radim.blazek gmail.com>
  * PURPOSE:      Controls access to the current mapset for other users on the system
- * COPYRIGHT:    (C) 1999-2006 by the GRASS Development Team
+ * COPYRIGHT:    (C) 1999-2006, 2011 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS
@@ -36,15 +36,18 @@
     module = G_define_module();
     G_add_keyword(_("general"));
     G_add_keyword(_("map management"));
-    module->description =
+    G_add_keyword(_("permission"));
+    module->label =
 	_("Controls access to the current mapset for other users on the system.");
-
+    module->description = _("If no option given, prints current status.");
+    
     group_opt = G_define_option();
     group_opt->key = "group";
     group_opt->type = TYPE_STRING;
     group_opt->required = NO;
     group_opt->options = "grant,revoke";
     group_opt->description = _("Access for group");
+    group_opt->guisection = _("Settings");
 
     other_opt = G_define_option();
     other_opt->key = "other";
@@ -52,7 +55,8 @@
     other_opt->required = NO;
     other_opt->options = "grant,revoke";
     other_opt->description = _("Access for others");
-
+    other_opt->guisection = _("Settings");
+    
     if (G_parser(argc, argv))
 	exit(EXIT_FAILURE);
 



More information about the grass-commit mailing list