[GRASS-SVN] r60709 - grass/trunk/general/g.mlist

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jun 4 16:34:56 PDT 2014


Author: hcho
Date: 2014-06-04 16:34:56 -0700 (Wed, 04 Jun 2014)
New Revision: 60709

Modified:
   grass/trunk/general/g.mlist/main.c
Log:
g.mlist: one exclusive group is enough

Modified: grass/trunk/general/g.mlist/main.c
===================================================================
--- grass/trunk/general/g.mlist/main.c	2014-06-04 23:34:44 UTC (rev 60708)
+++ grass/trunk/general/g.mlist/main.c	2014-06-04 23:34:56 UTC (rev 60709)
@@ -121,7 +121,7 @@
     flag.type->key = 't';
     flag.type->description = _("Print data types");
     flag.type->guisection = _("Print");
-    flag.type->exclusive = "type";
+    flag.type->exclusive = "format";
     
     flag.mapset = G_define_flag();
     flag.mapset->key = 'm';
@@ -132,13 +132,13 @@
     flag.pretty->key = 'p';
     flag.pretty->description = _("Pretty printing in human readable format");
     flag.pretty->guisection = _("Print");
-    flag.pretty->exclusive = "format,type";
+    flag.pretty->exclusive = "format";
 
     flag.full = G_define_flag();
     flag.full->key = 'f';
     flag.full->description = _("Verbose listing (also list map titles)");
     flag.full->guisection = _("Print");
-    flag.full->exclusive = "format,type";
+    flag.full->exclusive = "format";
 
     if (G_parser(argc, argv))
 	exit(EXIT_FAILURE);



More information about the grass-commit mailing list