2015-09-24 13:28 GMT+02:00 Ed Avis <[email protected]>:
> Andreas Grünbacher <[email protected]> wrote:
>
>>When diffing two files, you can use the --label option to set the file
>>names; this also overrides the timestamps.
>
> Thanks, that does it. I suggest a small tweak to the manual page:
>
> --label LABEL
> use LABEL instead of file name and timestamp (can be repeated)
I agree. Attached is this change as a patch; please apply.
Thanks,
Andreas
diff: Improve help text of option --label
* src/diff.c (option_help_msgid): Improve help text of option --label.
diff a/src/diff.c b/src/diff.c
--- a/src/diff.c
+++ b/src/diff.c
@@ -871,7 +871,7 @@ static char const * const option_help_msgid[] = {
"",
N_("-p, --show-c-function show which C function each change is in"),
N_("-F, --show-function-line=RE show the most recent line matching RE"),
- N_(" --label LABEL use LABEL instead of file name\n"
+ N_(" --label LABEL use LABEL instead of file name and timestamp\n"
" (can be repeated)"),
"",
N_("-t, --expand-tabs expand tabs to spaces in output"),