summaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-08-20 12:06:28 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-08-20 12:06:28 +0200
commit8909d2eb222b911cd125467673607e86c40f1ed9 (patch)
treef6000a8e949a862c357b8f58e26a62eff2ad9b53 /tool
parentc5521326c2436757c5177f7ac1ef5d918eb560d8 (diff)
tool: Fix creation of TPKs w/o encryption subkey.
- Fixes #323.
Diffstat (limited to 'tool')
-rw-r--r--tool/src/sq_cli.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/src/sq_cli.rs b/tool/src/sq_cli.rs
index 0bbbf3b7..70dd4155 100644
--- a/tool/src/sq_cli.rs
+++ b/tool/src/sq_cli.rs
@@ -380,12 +380,12 @@ pub fn build() -> App<'static, 'static> {
.arg(Arg::with_name("can-encrypt").value_name("PURPOSE")
.long("can-encrypt")
.possible_values(&["transport", "rest", "all"])
- .default_value("all")
.help("The key has an encryption-capable subkey \
(default)"))
.arg(Arg::with_name("cannot-encrypt")
.long("cannot-encrypt")
.help("The key will not be able to encrypt data"))
+
.arg(Arg::with_name("export").value_name("OUTFILE")
.long("export")
.short("e")