1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

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 <wk@gnupg.org>
This commit is contained in:
Werner Koch 2020-03-06 15:17:53 +01:00
parent daf5f4355d
commit 41eb5108ce
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
2 changed files with 296 additions and 292 deletions

View file

@ -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 },