summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@g10code.com>2015-11-04 13:27:49 +0100
committerNeal H. Walfield <neal@g10code.com>2015-11-04 13:27:49 +0100
commit6897bbf1aa9bf0a61b186ea1a9bcb463fb1fd10e (patch)
tree157aea0f4e6afd84ec2a6db0f8fc137881ac3c9d
parentgpg: Add --encrypt-to-default-key. (diff)
downloadgnupg2-6897bbf1aa9bf0a61b186ea1a9bcb463fb1fd10e.tar.xz
gnupg2-6897bbf1aa9bf0a61b186ea1a9bcb463fb1fd10e.zip
gpg: Print a better error message for --multifile --sign --encrypt.
* g10/gpg.c (main): Print a better error message for --multifile --sign --encrypt. -- Signed-off-by: Neal H. Walfield <neal@g10code.com> GnuPG-bug-id: 1009
-rw-r--r--g10/gpg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index 7338ac91c..cdf7b0d7f 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -3503,6 +3503,9 @@ main (int argc, char **argv)
case aSign:
cmdname="--sign";
break;
+ case aSignEncr:
+ cmdname="--sign --encrypt";
+ break;
case aClearsign:
cmdname="--clearsign";
break;