From 3af8731bbbb13e362783cfea584c813477fa2e35 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 1 Oct 2024 10:50:44 +0200 Subject: [PATCH] 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 --- tools/gpgconf-comp.c | 6 +++--- 1 file 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,