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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 30 17:17:17 PDT 2014


Author: wenzeslaus
Date: 2014-05-30 17:17:17 -0700 (Fri, 30 May 2014)
New Revision: 60617

Modified:
   grass/trunk/general/g.mlist/main.c
Log:
g.mlist: replace incorrect usage of answer (flag state) by key (flag character)

Modified: grass/trunk/general/g.mlist/main.c
===================================================================
--- grass/trunk/general/g.mlist/main.c	2014-05-30 21:00:02 UTC (rev 60616)
+++ grass/trunk/general/g.mlist/main.c	2014-05-31 00:17:17 UTC (rev 60617)
@@ -143,15 +143,15 @@
 
     if ((flag.pretty->answer || flag.full->answer) && flag.type->answer)
 	G_fatal_error(_("-%c/-%c and -%c are mutually exclusive"),
-		      flag.pretty->answer, flag.full->key, flag.type->answer);
+		      flag.pretty->key, flag.full->key, flag.type->key);
 
     if (flag.pretty->answer && flag.full->answer)
 	G_fatal_error(_("-%c and -%c are mutually exclusive"),
-		      flag.pretty->answer, flag.full->answer);
+		      flag.pretty->key, flag.full->key);
 
     if (flag.regex->answer && flag.extended->answer)
 	G_fatal_error(_("-%c and -%c are mutually exclusive"),
-		      flag.regex->answer, flag.extended->answer);
+		      flag.regex->key, flag.extended->key);
 
     if (opt.pattern->answer) {
 	if (flag.regex->answer || flag.extended->answer)



More information about the grass-commit mailing list