From f197fe34f22beb66e5115f7a38c915d89259b363 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 21dd406ab..f0f1ff78f 100644 --- a/tools/gpgconf-comp.c +++ b/tools/gpgconf-comp.c @@ -412,9 +412,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,