[pkg-gnupg-maint] Bug#852979: Bug#852979: gnupg: incorrect note in the man page

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sat Feb 4 06:32:44 UTC 2017


Control: tags 852979 + patch upstream pending

Hi Ulyanich Michael--

On Sat 2017-01-28 12:02:58 -0500, Ulyanich Michael wrote:
> from "man gpg":
> ***
>    Commands not specific to the function
>
>        --version
>               Print the program version and licensing information.  Note  that
>               you cannot abbreviate this command.
>
>        --help
>        -h     Print  a  usage message summarizing the most useful command-line
>               options.  Note that you cannot abbreviate this command.
>
> ***
> But as i understand, -h is an abbrebiation of the command "--help". Thus, it
> shouldn't be the sentence "Note that you cannot abbreviate this command."

i can see why that sounds a bit confusing, but -h is a "short" command,
and --help is a "long" command.  gpg offers abbreviations of most long
commands, so that (for example) you can use "--bat" as a long-option
abbreviation for the "--batch".

So this is the manual telling you that gpg won't accept "--hel" instead
of "--help".

Confusing, though!

I'm attaching a patch which i've also pushed upstream.

           --dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-doc-Clarify-abbreviation-of-help.patch
Type: text/x-diff
Size: 893 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20170204/fd55bdc5/attachment-0001.patch>


More information about the pkg-gnupg-maint mailing list