summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-03-04 13:19:55 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-03-04 13:21:50 -0800
commitc7560370da8ff0d7b48b75989b8f46cb619fbfd8 (patch)
treec0dbc6216081e198bdc19d5a99cddff3c5f87aa8
parentb2892140d83cbc05881440a2fdbc13bb24b6cd76 (diff)
downloaddiffutils-c7560370da8ff0d7b48b75989b8f46cb619fbfd8.tar.gz
doc: explain -I RE better in --help output
* src/diff.c, src/sdiff.c (option_help_msgid): For -I RE, change "whose lines all match" to "all whose lines match" to avoid unintended interpretation. Reported by Danijel Tasov in <http://bugs.debian.org/648411>.
-rw-r--r--src/diff.c2
-rw-r--r--src/sdiff.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/diff.c b/src/diff.c
index 200112b..85950fa 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -894,7 +894,7 @@ static char const * const option_help_msgid[] = {
N_("-b, --ignore-space-change ignore changes in the amount of white space"),
N_("-w, --ignore-all-space ignore all white space"),
N_("-B, --ignore-blank-lines ignore changes whose lines are all blank"),
- N_("-I, --ignore-matching-lines=RE ignore changes whose lines all match RE"),
+ N_("-I, --ignore-matching-lines=RE ignore changes all whose lines match RE"),
"",
N_("-a, --text treat all files as text"),
N_(" --strip-trailing-cr strip trailing carriage return on input"),
diff --git a/src/sdiff.c b/src/sdiff.c
index ceda3db..63b2861 100644
--- a/src/sdiff.c
+++ b/src/sdiff.c
@@ -175,7 +175,7 @@ static char const * const option_help_msgid[] = {
N_("-b, --ignore-space-change ignore changes in the amount of white space"),
N_("-W, --ignore-all-space ignore all white space"),
N_("-B, --ignore-blank-lines ignore changes whose lines are all blank"),
- N_("-I, --ignore-matching-lines=RE ignore changes whose lines all match RE"),
+ N_("-I, --ignore-matching-lines=RE ignore changes all whose lines match RE"),
N_(" --strip-trailing-cr strip trailing carriage return on input"),
N_("-a, --text treat all files as text"),
"",