summaryrefslogtreecommitdiffstats
path: root/tool/src/sq_cli.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-03-13 17:20:04 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-03-13 17:24:42 +0100
commit38defdd34ac927560172439c93295d3cce6f6171 (patch)
treec001b1d89622e353be9582449872e3db0ac7edfb /tool/src/sq_cli.rs
parent6ca0c166e047eec89623b7edead32eb6aeeba6fa (diff)
sq: Support dumping encrypted messages.
Diffstat (limited to 'tool/src/sq_cli.rs')
-rw-r--r--tool/src/sq_cli.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tool/src/sq_cli.rs b/tool/src/sq_cli.rs
index 70d87b95..0180369f 100644
--- a/tool/src/sq_cli.rs
+++ b/tool/src/sq_cli.rs
@@ -373,6 +373,12 @@ pub fn build() -> App<'static, 'static> {
.long("output")
.short("o")
.help("Sets the output file to use"))
+ .arg(Arg::with_name("session-key")
+ .long("session-key")
+ .takes_value(true)
+ .value_name("SESSION-KEY")
+ .help("Session key to decrypt encryption \
+ containers"))
.arg(Arg::with_name("mpis")
.long("mpis")
.help("Print MPIs"))