summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-10-05 17:24:57 +0200
committerWerner Koch <wk@gnupg.org>2020-10-05 17:25:24 +0200
commit210575d8826ea61e4914e4b61eff7b875c972b85 (patch)
tree5a9bbed2552921bb5600528a08e10d98791d7f70 /tools
parentgpg: Switch to ed25519+cv25519 as default algo. (diff)
downloadgnupg2-210575d8826ea61e4914e4b61eff7b875c972b85.tar.xz
gnupg2-210575d8826ea61e4914e4b61eff7b875c972b85.zip
dirmngr: Add warning on the use of --add-servers.
* tools/gpgconf-comp.c (known_options_dirmngr): Degrade add-servers to expert mode.
Diffstat (limited to 'tools')
-rw-r--r--tools/gpgconf-comp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index 919bcb357..dacc53328 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -470,7 +470,7 @@ static known_option_t known_options_dirmngr[] =
{ "ignore-ldap-dp", GC_OPT_FLAG_NONE, GC_LEVEL_ADVANCED },
{ "ldap-proxy", GC_OPT_FLAG_NONE, GC_LEVEL_BASIC },
{ "only-ldap-proxy", GC_OPT_FLAG_NONE, GC_LEVEL_ADVANCED },
- { "add-servers", GC_OPT_FLAG_NONE, GC_LEVEL_ADVANCED },
+ { "add-servers", GC_OPT_FLAG_NONE, GC_LEVEL_EXPERT },
{ "ldaptimeout", GC_OPT_FLAG_NONE, GC_LEVEL_BASIC },
{ "max-replies", GC_OPT_FLAG_NONE, GC_LEVEL_BASIC },
{ "allow-ocsp", GC_OPT_FLAG_NONE, GC_LEVEL_BASIC },