git-svn-id: https://svn.osgeo.org/grass/grass/trunk@49481 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -525,7 +525,7 @@ int G_parser(int argc, char **argv)
}
/* If we see the non valid argument (no "=", just argument) */
- else if (contains(ptr, '=') == 0) {
+ else {
G_asprintf(&err, _("Sorry <%s> is not a valid option"), ptr);
append_error(err);