[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-grep] error message improvement
From: |
Elliott Hughes |
Subject: |
[bug-grep] error message improvement |
Date: |
Tue, 23 Nov 2004 21:05:29 -0800 |
in think it got lost in the middle of another conversation, but i think
this trivial change is a good one:
2004-11-22 Elliott Hughes <address@hidden>
* src/grep.c: Say exactly *which* matchers conflicted.
Index: src/grep.c
===================================================================
RCS file: /cvsroot/grep/grep/src/grep.c,v
retrieving revision 1.85
diff -u -r1.85 grep.c
--- src/grep.c 22 Nov 2004 09:53:26 -0000 1.85
+++ src/grep.c 24 Nov 2004 05:05:31 -0000
@@ -1166,7 +1166,7 @@
setmatcher (char const *m)
{
if (matcher && strcmp (matcher, m) != 0)
- error (2, 0, _("conflicting matchers specified"));
+ error (2, 0, _("conflicting matchers specified: %s and %s"),
matcher, m);
matcher = m;
}
20041123-elliotth-grep-patch.txt
Description: Text document
--
http://www.jessies.org/~enh/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-grep] error message improvement,
Elliott Hughes <=