summaryrefslogtreecommitdiffhomepage
path: root/mullvad-cli/src/cmds
diff options
context:
space:
mode:
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)) => {