GNU bug report logs - #54366
option -L is not documented in the "diff --help" output

Previous Next

Package: diffutils;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Sun, 13 Mar 2022 01:50:01 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vincent Lefevre <vincent <at> vinc17.net>
To: bug-diffutils <at> gnu.org
Subject: option -L is not documented in the "diff --help" output
Date: Sun, 13 Mar 2022 02:49:17 +0100
[Message part 1 (text/plain, inline)]
Option -L is not documented in the "diff --help" output (and
as a consequence, in the generated diff.1 man page either).

The doc/diffutils.info file contains

'-L LABEL'
'--label=LABEL'
     Use LABEL instead of the file name in the context format (*note
     Context Format::) and unified format (*note Unified Format::)
     headers.  *Note RCS::.

so "    --label LABEL" should just be changed to "-L, --label LABEL"
in src/diff.c. Patch attached.

-- 
Vincent Lefèvre <vincent <at> vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
[diff.patch (text/x-diff, attachment)]

This bug report was last modified 3 years and 96 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.