diff options
author | Werner Koch <[email protected]> | 2007-07-17 18:11:24 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2007-07-17 18:11:24 +0000 |
commit | 11573b09c4a00c94107edd40ec84c7de4008151e (patch) | |
tree | c98e84d1c790a82ec0e94be1b7d86f7cbb24981f /tools/gpgconf-comp.c | |
parent | 2007-07-16 Marcus Brinkmann <[email protected]> (diff) | |
download | gnupg-11573b09c4a00c94107edd40ec84c7de4008151e.tar.gz gnupg-11573b09c4a00c94107edd40ec84c7de4008151e.zip |
Typo fixes.
Made --default-key work for gpgsm
Add --default-key and --encrypt-to to gpgconf.
Diffstat (limited to 'tools/gpgconf-comp.c')
-rw-r--r-- | tools/gpgconf-comp.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c index ba147ad48..ae2902b94 100644 --- a/tools/gpgconf-comp.c +++ b/tools/gpgconf-comp.c @@ -616,6 +616,12 @@ static gc_option_t gc_options_gpg[] = { "Configuration", GC_OPT_FLAG_GROUP, GC_LEVEL_EXPERT, "gnupg", N_("Options controlling the configuration") }, + { "default-key", GC_OPT_FLAG_NONE, GC_LEVEL_BASIC, + "gnupg", N_("|NAME|use NAME as default secret key"), + GC_ARG_TYPE_STRING, GC_BACKEND_GPG }, + { "encrypt-to", GC_OPT_FLAG_NONE, GC_LEVEL_BASIC, + "gnupg", N_("|NAME|encrypt to user ID NAME as well"), + GC_ARG_TYPE_STRING, GC_BACKEND_GPG }, { "options", GC_OPT_FLAG_NONE, GC_LEVEL_EXPERT, "gnupg", "|FILE|read options from FILE", GC_ARG_TYPE_PATHNAME, GC_BACKEND_GPG }, @@ -672,6 +678,12 @@ static gc_option_t gc_options_gpgsm[] = { "Configuration", GC_OPT_FLAG_GROUP, GC_LEVEL_EXPERT, "gnupg", N_("Options controlling the configuration") }, + { "default-key", GC_OPT_FLAG_NONE, GC_LEVEL_BASIC, + "gnupg", N_("|NAME|use NAME as default secret key"), + GC_ARG_TYPE_STRING, GC_BACKEND_GPGSM }, + { "encrypt-to", GC_OPT_FLAG_NONE, GC_LEVEL_BASIC, + "gnupg", N_("|NAME|encrypt to user ID NAME as well"), + GC_ARG_TYPE_STRING, GC_BACKEND_GPGSM }, { "options", GC_OPT_FLAG_NONE, GC_LEVEL_EXPERT, "gnupg", "|FILE|read options from FILE", GC_ARG_TYPE_PATHNAME, GC_BACKEND_GPGSM }, |