Skip to content

Commit

Permalink
Add --throw-keyids/--no-throw-keyids options
Browse files Browse the repository at this point in the history
Thanks @eduncan911 for spotting this.
  • Loading branch information
marmarek committed Jul 26, 2017
1 parent f08c02f commit c16373b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/gpg-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ enum {
opt_no_greeting,
opt_no_skip_hidden_recipients,
opt_no_secmem_warning,
opt_no_throw_keyids,
opt_no_tty,
opt_no_verbose,
opt_openpgp,
Expand All @@ -76,6 +77,7 @@ enum {
opt_skip_hidden_recipients,
opt_status_fd,
opt_store,
opt_throw_keyids,
opt_trust_model,
opt_try_all_secrets,
opt_try_secret_key,
Expand Down Expand Up @@ -145,6 +147,7 @@ static const int gpg_allowed_options[] = {
opt_no_greeting,
opt_no_secmem_warning,
opt_no_skip_hidden_recipients,
opt_no_throw_keyids,
opt_no_tty,
opt_no_verbose,
opt_openpgp,
Expand All @@ -165,6 +168,7 @@ static const int gpg_allowed_options[] = {
opt_skip_hidden_recipients,
opt_status_fd,
opt_store,
opt_throw_keyids,
opt_trust_model,
opt_try_all_secrets,
opt_try_secret_key,
Expand Down Expand Up @@ -228,6 +232,7 @@ static const struct option gpg_long_options[] = {
{"no-greeting", 0, 0, opt_no_greeting},
{"no-secmem-warning", 0, 0, opt_no_secmem_warning},
{"no-skip-hidden-recipients", 0, 0, opt_no_skip_hidden_recipients},
{"no-throw-keyids", 0, 0, opt_no_throw_keyids},
{"no-tty", 0, 0, opt_no_tty},
{"no-verbose", 0, 0, opt_no_verbose},
{"openpgp", 0, 0, opt_openpgp},
Expand Down Expand Up @@ -257,6 +262,7 @@ static const struct option gpg_long_options[] = {
{"store", 0, 0, opt_store},
{"symmetric", 0, 0, 'c'},
{"textmode", 0, 0, 't'},
{"throw-keyids", 0, 0, opt_throw_keyids},
{"trust-model", 1, 0, opt_trust_model},
{"try-secret-key", 1, 0, opt_try_secret_key},
{"try-all-secrets", 0, 0, opt_try_all_secrets},
Expand Down

0 comments on commit c16373b

Please sign in to comment.