aboutsummaryrefslogtreecommitdiffstats
path: root/tests/run-keysign.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-keysign.c')
-rw-r--r--tests/run-keysign.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run-keysign.c b/tests/run-keysign.c
index 57488a47..31775061 100644
--- a/tests/run-keysign.c
+++ b/tests/run-keysign.c
@@ -82,6 +82,7 @@ show_usage (int ex)
" --noexpire force no expiration\n"
" --expire EPOCH expire the signature at EPOCH\n"
" --revoke revoke the signature(s)\n"
+ " --force pass --force-sign-key option\n"
, stderr);
exit (ex);
}
@@ -149,6 +150,11 @@ main (int argc, char **argv)
keysign_flags |= GPGME_KEYSIGN_LOCAL;
argc--; argv++;
}
+ else if (!strcmp (*argv, "--force"))
+ {
+ keysign_flags |= GPGME_KEYSIGN_FORCE;
+ argc--; argv++;
+ }
else if (!strcmp (*argv, "--noexpire"))
{
keysign_flags |= GPGME_KEYSIGN_NOEXPIRE;