aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/dirmngr.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2022-04-25 10:03:45 +0000
committerWerner Koch <[email protected]>2022-04-25 10:03:45 +0000
commitca5d5142c6d6eaba4572a086f8473e4aebdd3f9e (patch)
tree9545b869334817f900c0816574e2ca962d96eefb /dirmngr/dirmngr.c
parentgpg: Emit an ERROR status as hint for a bad passphrase. (diff)
downloadgnupg-ca5d5142c6d6eaba4572a086f8473e4aebdd3f9e.tar.gz
gnupg-ca5d5142c6d6eaba4572a086f8473e4aebdd3f9e.zip
Deprecate the --supervised options.
* agent/gpg-agent.c (main): Mark --supervised as deprecated. * dirmngr/dirmngr.c (main): Ditto. -- The supervised thing causes more trouble than it pretends to solve.
Diffstat (limited to 'dirmngr/dirmngr.c')
-rw-r--r--dirmngr/dirmngr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c
index dec5c57d9..b36d263f7 100644
--- a/dirmngr/dirmngr.c
+++ b/dirmngr/dirmngr.c
@@ -173,7 +173,7 @@ static gpgrt_opt_t opts[] = {
ARGPARSE_c (aServer, "server", N_("run in server mode (foreground)") ),
ARGPARSE_c (aDaemon, "daemon", N_("run in daemon mode (background)") ),
#ifndef HAVE_W32_SYSTEM
- ARGPARSE_c (aSupervised, "supervised", N_("run in supervised mode")),
+ ARGPARSE_c (aSupervised, "supervised", "@"),
#endif
ARGPARSE_c (aListCRLs, "list-crls", N_("list the contents of the CRL cache")),
ARGPARSE_c (aLoadCRL, "load-crl", N_("|FILE|load CRL from FILE into cache")),
@@ -1275,6 +1275,9 @@ main (int argc, char **argv)
#ifndef HAVE_W32_SYSTEM
else if (cmd == aSupervised)
{
+ if (!opt.quiet)
+ log_info(_("WARNING: \"%s\" is a deprecated option\n"), "--supervised");
+
/* In supervised mode, we expect file descriptor 3 to be an
already opened, listening socket.