1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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
This commit is contained in:
Werner Koch 2024-10-01 10:50:44 +02:00
parent 6022f10da3
commit 3af8731bbb
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -413,9 +413,9 @@ static known_option_t known_options_gpg[] =
GC_ARG_TYPE_ALIAS_LIST}, GC_ARG_TYPE_ALIAS_LIST},
{ "compliance", GC_OPT_FLAG_NONE, GC_LEVEL_EXPERT }, { "compliance", GC_OPT_FLAG_NONE, GC_LEVEL_EXPERT },
{ "default-new-key-algo", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE }, { "default-new-key-algo", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE },
{ "default-new-key-adsk", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE }, { "default-new-key-adsk", GC_OPT_FLAG_LIST, GC_LEVEL_INVISIBLE },
{ "add-desig-revoker", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE }, { "add-desig-revoker", GC_OPT_FLAG_LIST, GC_LEVEL_INVISIBLE },
{ "trusted-key", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE }, { "trusted-key", GC_OPT_FLAG_LIST, GC_LEVEL_INVISIBLE },
{ "trust-model", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE }, { "trust-model", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE },
{ "debug-level", GC_OPT_FLAG_ARG_OPT, GC_LEVEL_ADVANCED }, { "debug-level", GC_OPT_FLAG_ARG_OPT, GC_LEVEL_ADVANCED },
{ "log-file", GC_OPT_FLAG_NONE, GC_LEVEL_ADVANCED, { "log-file", GC_OPT_FLAG_NONE, GC_LEVEL_ADVANCED,