diff --git a/tests/run-sign.c b/tests/run-sign.c index 55b2e482..37211d72 100644 --- a/tests/run-sign.c +++ b/tests/run-sign.c @@ -86,6 +86,7 @@ show_usage (int ex) " --key NAME use key NAME for signing\n" " --sender MBOX use MBOX as sender address\n" " --include-key-block use this option with gpg\n" + " --clear create a clear text signature\n" , stderr); exit (ex); } @@ -172,6 +173,11 @@ main (int argc, char **argv) include_key_block = 1; argc--; argv++; } + else if (!strcmp (*argv, "--clear")) + { + sigmode = GPGME_SIG_MODE_CLEAR; + argc--; argv++; + } else if (!strncmp (*argv, "--", 2)) show_usage (1);