Home GnuPG
Diffusion GnuPG eed16ccebf8f

Distinguish between ARGPARSE_AMBIGUOUS_{OPTION,COMMAND}
eed16ccebf8fUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Distinguish between ARGPARSE_AMBIGUOUS_{OPTION,COMMAND}

* common/argparse.c (initialize): Use correct value.

This avoids a dead path in the argparse code.

It's not clear that this is needed, however, since
ARGPARSE_AMBIGUOUS_COMMAND is never actually used in the code.
Another approach would be to trim out ARGPARSE_AMBIGUOUS_COMMAND
entirely.

Details

Provenance
dkgAuthored on Nov 21 2014, 11:04 PM
wernerCommitted on Nov 24 2014, 9:48 AM
Parents
rGa3cf781e3bc1: gpg: Refer to --throw-keyids instead of --throw-keyid
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGeed16ccebf8f: Distinguish between ARGPARSE_AMBIGUOUS_{OPTION,COMMAND} (authored by Daniel Kahn Gillmor <dkg@fifthhorseman.net>).Nov 24 2014, 9:48 AM