gpg: Print a better error message for --multifile --sign --encrypt.
authorNeal H. Walfield <neal@g10code.com>
Wed, 4 Nov 2015 12:27:49 +0000 (13:27 +0100)
committerNeal H. Walfield <neal@g10code.com>
Wed, 4 Nov 2015 12:27:49 +0000 (13:27 +0100)
* 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

g10/gpg.c

index 7338ac9..cdf7b0d 100644 (file)
--- 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;