aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-10-01 08:50:44 +0000
committerWerner Koch <[email protected]>2024-11-08 07:43:48 +0000
commit3af8731bbbb13e362783cfea584c813477fa2e35 (patch)
treeb4e9bc9053577cc8c576f1674f1a3d793adc46de
parentgpg: Robust error handling for SCD READKEY. (diff)
downloadgnupg-3af8731bbbb13e362783cfea584c813477fa2e35.tar.gz
gnupg-3af8731bbbb13e362783cfea584c813477fa2e35.zip
gpgconf: Add list flag to trusted-key et al.
* tools/gpgconf-comp.c (known_options_gpg): Add list flag to sume options. -- GnuPG-bug-id: 7313
-rw-r--r--tools/gpgconf-comp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index b7ddf3a01..fb2a89635 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -413,9 +413,9 @@ static known_option_t known_options_gpg[] =
GC_ARG_TYPE_ALIAS_LIST},
{ "compliance", GC_OPT_FLAG_NONE, GC_LEVEL_EXPERT },
{ "default-new-key-algo", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE },
- { "default-new-key-adsk", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE },
- { "add-desig-revoker", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE },
- { "trusted-key", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE },
+ { "default-new-key-adsk", GC_OPT_FLAG_LIST, GC_LEVEL_INVISIBLE },
+ { "add-desig-revoker", GC_OPT_FLAG_LIST, GC_LEVEL_INVISIBLE },
+ { "trusted-key", GC_OPT_FLAG_LIST, GC_LEVEL_INVISIBLE },
{ "trust-model", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE },
{ "debug-level", GC_OPT_FLAG_ARG_OPT, GC_LEVEL_ADVANCED },
{ "log-file", GC_OPT_FLAG_NONE, GC_LEVEL_ADVANCED,