[GRASS-SVN] r69209 - grass/branches/releasebranch_6_4/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 22 07:14:28 PDT 2016


Author: mlennert
Date: 2016-08-22 07:14:28 -0700 (Mon, 22 Aug 2016)
New Revision: 69209

Modified:
   grass/branches/releasebranch_6_4/lib/gis/parser.c
Log:
parser: fix #1444 (backport from devel6)


Modified: grass/branches/releasebranch_6_4/lib/gis/parser.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/parser.c	2016-08-22 13:25:10 UTC (rev 69208)
+++ grass/branches/releasebranch_6_4/lib/gis/parser.c	2016-08-22 14:14:28 UTC (rev 69209)
@@ -967,7 +967,7 @@
 	    }
 
 	    /* If we see the non valid argument (no "=", just argument) */
-	    else if (contains(ptr, '=') == 0) {
+	    else {
 		fprintf(stderr, _("Sorry <%s> is not a valid option\n"), ptr);
 		error = 1;
 	    }



More information about the grass-commit mailing list