bug-diffutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-diffutils] [PATCH] docs: diff --help should mention -L


From: Eric Blake
Subject: [bug-diffutils] [PATCH] docs: diff --help should mention -L
Date: Fri, 18 Mar 2011 15:21:11 -0600

* src/diff.c (option_help_msgid): Document -L.
---

I was surprised to see 'diff -L' in gnulib's maint.mk but no
mention in 'diff --help' to tell me what it did.  I've pushed this:

 src/diff.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/diff.c b/src/diff.c
index 0a25465..6e2a6de 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -860,7 +860,7 @@ static char const * const option_help_msgid[] = {
   "",
   N_("-c  -C NUM  --context[=NUM]  Output NUM (default 3) lines of copied 
context.\n\
 -u  -U NUM  --unified[=NUM]  Output NUM (default 3) lines of unified 
context.\n\
-  --label LABEL  Use LABEL instead of file name.\n\
+  -L LABEL  --label=LABEL  Use LABEL instead of file name.\n\
   -p  --show-c-function  Show which C function each change is in.\n\
   -F RE  --show-function-line=RE  Show the most recent line matching RE."),
   N_("-q  --brief  Output only whether files differ."),
-- 
1.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]