From 41eb5108ce59244d961df43bbf73b8aa6e95e9cd Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 6 Mar 2020 15:17:53 +0100 Subject: gpg: Re-group the options in the --help output. * g10/gpg.c (opts): Change oLoadExtensions, oStrict, and oNoStrict to use ARGPARSE_ignore and remove the code in the option switch. -- This looks better and is also required for further simplifications of gpgconf. Signed-off-by: Werner Koch --- tools/gpgconf-comp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/gpgconf-comp.c') diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c index e77a68b7d..ddedd6a21 100644 --- a/tools/gpgconf-comp.c +++ b/tools/gpgconf-comp.c @@ -717,7 +717,8 @@ static gc_option_t gc_options_gpg[] = { "default-new-key-algo", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE, NULL, NULL, GC_ARG_TYPE_STRING, GC_BACKEND_GPG }, - { "default_pubkey_algo", + { "default_pubkey_algo", /*FIXME: This is a pseudo option which we + * read using --gpgconf-list */ (GC_OPT_FLAG_ARG_OPT|GC_OPT_FLAG_NO_CHANGE), GC_LEVEL_INVISIBLE, NULL, NULL, GC_ARG_TYPE_STRING, GC_BACKEND_GPG }, -- cgit v1.2.3