diff options
author | Charles Levert <charles_levert@gna.org> | 2005-11-16 21:26:44 +0000 |
---|---|---|
committer | Charles Levert <charles_levert@gna.org> | 2005-11-16 21:26:44 +0000 |
commit | 8d07ebf0cb08808acdb06e8765bb7dca0c5315a7 (patch) | |
tree | ef804fb8a5fa61987bd6d59fd1af1a1aa716b940 | |
parent | 331a18737ade4ddc1ca6881cf4b3b792bbad6dbf (diff) | |
download | grep-8d07ebf0cb08808acdb06e8765bb7dca0c5315a7.tar.gz |
* src/search.c (Pcompile): Clarify message for the -P option
not being supported so that users don't assume it's a run-time
problem, but know that it's a compile-time configuration choice.
Based on an idea by: Benno Schulenberg <benno@nietvergeten.nl>.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/search.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2005-11-16 Charles Levert <charles_levert@gna.org> + + * src/search.c (Pcompile): Clarify message for the -P option + not being supported so that users don't assume it's a run-time + problem, but know that it's a compile-time configuration choice. + Based on an idea by: Benno Schulenberg <benno@nietvergeten.nl>. + 2005-11-13 Charles Levert <charles_levert@gna.org> * tests/yesno.sh: New file. Test feature interaction diff --git a/src/search.c b/src/search.c index a7708641..0f1494b1 100644 --- a/src/search.c +++ b/src/search.c @@ -616,7 +616,7 @@ static pcre_extra *extra; COMPILE_FCT(Pcompile) { #if !HAVE_LIBPCRE - error (2, 0, _("The -P option is not supported")); + error (2, 0, "%s", _("Support for the -P option is not compiled into this --disable-perl-regexp binary")); #else int e; char const *ep; |