diff options
author | Werner Koch <wk@gnupg.org> | 2010-10-08 13:11:08 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2010-10-08 13:11:08 +0200 |
commit | a78335c9ce3956a1e6d6f1a17e60673b3ebce5fb (patch) | |
tree | 36bca72ac73e36d6564485685e1245787b39884d /g10/gpg.c | |
parent | Import fixes. (diff) | |
download | gnupg2-a78335c9ce3956a1e6d6f1a17e60673b3ebce5fb.tar.xz gnupg2-a78335c9ce3956a1e6d6f1a17e60673b3ebce5fb.zip |
Add new option --with-keygrip
Diffstat (limited to 'g10/gpg.c')
-rw-r--r-- | g10/gpg.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -166,6 +166,7 @@ enum cmd_and_opt_values oNoAskCertLevel, oFingerprint, oWithFingerprint, + oWithKeygrip, oAnswerYes, oAnswerNo, oKeyring, @@ -669,6 +670,7 @@ static ARGPARSE_OPTS opts[] = { ARGPARSE_s_n (oUtf8Strings, "utf8-strings", "@"), ARGPARSE_s_n (oNoUtf8Strings, "no-utf8-strings", "@"), ARGPARSE_s_n (oWithFingerprint, "with-fingerprint", "@"), + ARGPARSE_s_n (oWithKeygrip, "with-keygrip", "@"), ARGPARSE_s_s (oDisableCipherAlgo, "disable-cipher-algo", "@"), ARGPARSE_s_s (oDisablePubkeyAlgo, "disable-pubkey-algo", "@"), ARGPARSE_s_n (oAllowNonSelfsignedUID, "allow-non-selfsigned-uid", "@"), @@ -2279,6 +2281,10 @@ main (int argc, char **argv) fpr_maybe_cmd = 1; break; + case oWithKeygrip: + opt.with_keygrip = 1; + break; + case oSecretKeyring: /* Ignore this old option. */ break; |