scd: Make option --homedir work.
authorWerner Koch <wk@gnupg.org>
Fri, 17 Jun 2016 06:36:07 +0000 (08:36 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 17 Jun 2016 06:36:07 +0000 (08:36 +0200)
* scd/scdaemon.c (opts): Add --homedir.
--

Without that entry the homedir setting won't work.

GnuPG-bug-id: 2386
Signed-off-by: Werner Koch <wk@gnupg.org>
scd/scdaemon.c

index 9c11cad..7dbb9c7 100644 (file)
@@ -156,6 +156,7 @@ static ARGPARSE_OPTS opts[] = {
   ARGPARSE_s_s (oDisableApplication, "disable-application", "@"),
   ARGPARSE_s_n (oEnablePinpadVarlen, "enable-pinpad-varlen",
                 N_("use variable length input for pinpad")),
+  ARGPARSE_s_s (oHomedir,    "homedir",      "@"),
 
   ARGPARSE_end ()
 };