summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2019-12-17 14:48:17 +0100
committerDavid Lönnhager <david.l@mullvad.net>2019-12-17 14:48:17 +0100
commit4ab8371abe991bed692b50378455f7d794fb1cbc (patch)
treec4ccdbfb52be7f1673364951b93b76a721f9b9e4
parenta85e9db8d1689ac292daa60f674067f21cec1f33 (diff)
parenta2ea35f4623a45e7ed6cfcfd4f3e1ef112dd474e (diff)
downloadmullvadvpn-4ab8371abe991bed692b50378455f7d794fb1cbc.tar.xz
mullvadvpn-4ab8371abe991bed692b50378455f7d794fb1cbc.zip
Merge branch 'update-cli'
-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)) => {