summaryrefslogtreecommitdiffhomepage
path: root/mullvad-cli/src/cmds
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2019-12-17 13:52:06 +0100
committerDavid Lönnhager <david.l@mullvad.net>2019-12-17 14:26:38 +0100
commita2ea35f4623a45e7ed6cfcfd4f3e1ef112dd474e (patch)
treec4ccdbfb52be7f1673364951b93b76a721f9b9e4 /mullvad-cli/src/cmds
parenta85e9db8d1689ac292daa60f674067f21cec1f33 (diff)
downloadmullvadvpn-a2ea35f4623a45e7ed6cfcfd4f3e1ef112dd474e.tar.xz
mullvadvpn-a2ea35f4623a45e7ed6cfcfd4f3e1ef112dd474e.zip
Rename 'key generate' to 'key regenerate' in the CLI
Diffstat (limited to 'mullvad-cli/src/cmds')
-rw-r--r--mullvad-cli/src/cmds/tunnel.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mullvad-cli/src/cmds/tunnel.rs b/mullvad-cli/src/cmds/tunnel.rs
index 2d0da4bf32..8b995cdc6b 100644
--- a/mullvad-cli/src/cmds/tunnel.rs
+++ b/mullvad-cli/src/cmds/tunnel.rs
@@ -55,7 +55,7 @@ fn create_wireguard_keys_subcommand() -> clap::App<'static, 'static> {
.about("Manage your wireguard key")
.setting(clap::AppSettings::SubcommandRequiredElseHelp)
.subcommand(clap::SubCommand::with_name("check"))
- .subcommand(clap::SubCommand::with_name("generate"))
+ .subcommand(clap::SubCommand::with_name("regenerate"))
.subcommand(create_wireguard_keys_rotation_interval_subcommand())
}
@@ -131,7 +131,7 @@ impl Tunnel {
("key", Some(matches)) => match matches.subcommand() {
("check", _) => Self::process_wireguard_key_check(),
- ("generate", _) => Self::process_wireguard_key_generate(),
+ ("regenerate", _) => Self::process_wireguard_key_generate(),
("rotation-interval", Some(matches)) => match matches.subcommand() {
("get", _) => Self::process_wireguard_rotation_interval_get(),
("set", Some(matches)) => {