summaryrefslogtreecommitdiffstats
path: root/tool/src/sq_cli.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-09-28 16:32:12 +0200
committerJustus Winter <justus@sequoia-pgp.org>2018-09-28 16:32:12 +0200
commit7c1fecc0bf147e95803e3c64cd2fb4641ebb265f (patch)
tree119b9b10231d8b7066b97c644ec1bd92fc8f387c /tool/src/sq_cli.rs
parent06ee86f3752f56add4d6e9deab1c460640ced21c (diff)
tool: Optionally sign data when encrypting.
Diffstat (limited to 'tool/src/sq_cli.rs')
-rw-r--r--tool/src/sq_cli.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tool/src/sq_cli.rs b/tool/src/sq_cli.rs
index bf2b3e37..0f96f3b2 100644
--- a/tool/src/sq_cli.rs
+++ b/tool/src/sq_cli.rs
@@ -88,6 +88,14 @@ pub fn build() -> App<'static, 'static> {
.number_of_values(1)
.help("Recipient to encrypt for, given as a file \
(can be given multiple times)"))
+ .arg(Arg::with_name("signer-key-file")
+ .long("signer-key-file")
+ .multiple(true)
+ .takes_value(true)
+ .value_name("TSK-FILE")
+ .number_of_values(1)
+ .help("Secret key to sign with, given as a file \
+ (can be given multiple times)"))
.arg(Arg::with_name("symmetric")
.long("symmetric")
.short("s")