[GRASS-SVN] r62405 - grass/trunk/general/g.remove

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 26 18:39:03 PDT 2014


Author: annakrat
Date: 2014-10-26 18:39:03 -0700 (Sun, 26 Oct 2014)
New Revision: 62405

Modified:
   grass/trunk/general/g.remove/main.c
Log:
g.remove: reorganize guisections, to better reflect the typical usage

Modified: grass/trunk/general/g.remove/main.c
===================================================================
--- grass/trunk/general/g.remove/main.c	2014-10-27 01:36:57 UTC (rev 62404)
+++ grass/trunk/general/g.remove/main.c	2014-10-27 01:39:03 UTC (rev 62405)
@@ -79,6 +79,7 @@
     opt.type->options = M_get_options(TRUE);
     opt.type->descriptions = M_get_option_desc(TRUE);
     opt.type->guidependency = "pattern,exclude,names,ignore";
+    opt.type->guisection = _("Basic");
 
     opt.names = G_define_option();
     opt.names->key = "names";
@@ -86,7 +87,7 @@
     opt.names->multiple = YES;
     opt.names->gisprompt = "old,element,element";
     opt.names->description = _("File names separated by a comma");
-    opt.names->guisection = _("Names");
+    opt.names->guisection = _("Basic");
 
     opt.ignore = G_define_option();
     opt.ignore->key = "ignore";
@@ -95,7 +96,7 @@
     opt.ignore->gisprompt = "old,element,element";
     opt.ignore->description =
 	_("File names to ignore separated by a comma (default: none)");
-    opt.ignore->guisection = _("Names");
+    opt.ignore->guisection = _("Pattern");
 
     opt.pattern = G_define_option();
     opt.pattern->key = "pattern";
@@ -123,6 +124,7 @@
 
     flag.force = G_define_flag();
     flag.force->key = 'f';
+    flag.force->guisection = _("Basic");
     flag.force->description =
 	_("Force removal (required for actual deletion of files)");
 



More information about the grass-commit mailing list