diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-12-04 13:17:49 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-12-04 13:21:47 +0100 |
commit | 6f1f511c4b94263e5b029f93bb921b60b90f4afd (patch) | |
tree | 9b42f5f0dfb69a643ec3a50f3279bdaeadbc996e /tool/src/commands/key.rs | |
parent | 43f4017c820c9b67c9e08f860182ab5c7126fc68 (diff) |
tool: Rename command line arguments.
- See #359.
Diffstat (limited to 'tool/src/commands/key.rs')
-rw-r--r-- | tool/src/commands/key.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/src/commands/key.rs b/tool/src/commands/key.rs index 259f08ab..a18ae25a 100644 --- a/tool/src/commands/key.rs +++ b/tool/src/commands/key.rs @@ -145,13 +145,13 @@ pub fn generate(m: &ArgMatches, force: bool) -> failure::Fallible<()> { // Encryption Capability match (m.value_of("can-encrypt"), m.is_present("cannot-encrypt")) { - (Some("all"), false) | (None, false) => { + (Some("universal"), false) | (None, false) => { builder = builder.add_subkey(KeyFlags::default() .set_transport_encryption(true) .set_storage_encryption(true), None); } - (Some("rest"), false) => { + (Some("storage"), false) => { builder = builder.add_storage_encryption_subkey(); } (Some("transport"), false) => { |