[Pkg-gnupg-commit] [gnupg2] 61/102: gpgconf: Add option --homedir
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Fri Jun 17 00:14:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gnupg2.
commit def512eb67c8a380f3b873cee0f156deef0b6dda
Author: Werner Koch <wk at gnupg.org>
Date: Wed Jun 8 09:54:09 2016 +0200
gpgconf: Add option --homedir
* tools/gpgconf.c (opts): Add --homedir.
(main): Set homedir.
Signed-off-by: Werner Koch <wk at gnupg.org>
---
tools/gpgconf.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/gpgconf.c b/tools/gpgconf.c
index e5a6c22..63cc654 100644
--- a/tools/gpgconf.c
+++ b/tools/gpgconf.c
@@ -87,6 +87,7 @@ static ARGPARSE_OPTS opts[] =
{ oDryRun, "dry-run", 0, N_("do not make any changes") },
{ oRuntime, "runtime", 0, N_("activate changes at runtime, if possible") },
/* hidden options */
+ { oHomedir, "homedir", 2, "@" },
{ oNoVerbose, "no-verbose", 0, "@"},
{0}
};
@@ -176,6 +177,7 @@ main (int argc, char **argv)
break;
case oVerbose: opt.verbose++; break;
case oNoVerbose: opt.verbose = 0; break;
+ case oHomedir: gnupg_set_homedir (pargs.r.ret_str); break;
case aListDirs:
case aListComponents:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list