diff options
Diffstat (limited to 'sm/gpgsm.c')
-rw-r--r-- | sm/gpgsm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c index 226704a98..d1b09f422 100644 --- a/sm/gpgsm.c +++ b/sm/gpgsm.c @@ -143,6 +143,7 @@ enum cmd_and_opt_values { oWithFingerprint, oWithMD5Fingerprint, + oWithKeygrip, oAnswerYes, oAnswerNo, oKeyring, @@ -371,6 +372,7 @@ static ARGPARSE_OPTS opts[] = { ARGPARSE_s_n (oWithEphemeralKeys, "with-ephemeral-keys", "@"), ARGPARSE_s_n (oSkipVerify, "skip-verify", "@"), 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 (oIgnoreTimeConflict, "ignore-time-conflict", "@"), @@ -1244,6 +1246,10 @@ main ( int argc, char **argv) opt.fingerprint++; break; + case oWithKeygrip: + opt.with_keygrip = 1; + break; + case oOptions: /* config files may not be nested (silently ignore them) */ if (!configfp) |