From c16373b72207af885f84c17fb0fa24ae7f92ccf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 26 Jul 2017 12:29:49 +0200 Subject: [PATCH] Add --throw-keyids/--no-throw-keyids options Thanks @eduncan911 for spotting this. --- src/gpg-common.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gpg-common.h b/src/gpg-common.h index bd4981e..e46c901 100644 --- a/src/gpg-common.h +++ b/src/gpg-common.h @@ -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, @@ -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, @@ -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, @@ -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, @@ -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}, @@ -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},