Home GnuPG
Diffusion GnuPG 3e14da863a66

gpg: Avoid duplicate declaration of {no-,}sk-comments noops.
3e14da863a66Unpublished

Unpublished Commit · Learn More

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

Description

gpg: Avoid duplicate declaration of {no-,}sk-comments noops.

* g10/gpg.c: Cleanup argument parsing.

With c76117f8b0165fe5cec5e7f234f55f5a4cd7f0ab, the GnuPG 2.0.x branch
accidentally introduced a second (identical) argument parser for both
--sk-comments, and for --no-sk-comments.

This caused short versions (e.g. omitting the trailing "s", as gpgme
does) of either command to fail with:

gpg: option "--sk-comment" is ambiguous

Details

Provenance
dkgAuthored on Sep 29 2014, 11:49 PM
wernerCommitted on Oct 2 2014, 4:08 PM
Parents
rG36179da032fa: gpg: Default to SHA-256 for all signature types on RSA keys.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG3e14da863a66: gpg: Avoid duplicate declaration of {no-,}sk-comments noops. (authored by Daniel Kahn Gillmor <dkg@fifthhorseman.net>).Oct 2 2014, 4:08 PM