summaryrefslogtreecommitdiffhomepage
path: root/mullvad-cli/src/cmds/tunnel.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mullvad-cli/src/cmds/tunnel.rs')
-rw-r--r--mullvad-cli/src/cmds/tunnel.rs18
1 files changed, 12 insertions, 6 deletions
diff --git a/mullvad-cli/src/cmds/tunnel.rs b/mullvad-cli/src/cmds/tunnel.rs
index fee9188c5d..8d601cd345 100644
--- a/mullvad-cli/src/cmds/tunnel.rs
+++ b/mullvad-cli/src/cmds/tunnel.rs
@@ -26,14 +26,18 @@ impl Command for Tunnel {
.help(
"Sets the optional mssfix parameter. \
Set an empty string to clear it.",
- ).required(true),
+ )
+ .required(true),
),
- ).setting(clap::AppSettings::SubcommandRequired),
- ).subcommand(
+ )
+ .setting(clap::AppSettings::SubcommandRequired),
+ )
+ .subcommand(
clap::SubCommand::with_name("get")
.help("Retrieves the current setting for mssfix"),
),
- ).subcommand(
+ )
+ .subcommand(
clap::SubCommand::with_name("set")
.subcommand(
clap::SubCommand::with_name("ipv6").arg(
@@ -42,8 +46,10 @@ impl Command for Tunnel {
.takes_value(true)
.possible_values(&["on", "off"]),
),
- ).setting(clap::AppSettings::SubcommandRequired),
- ).subcommand(
+ )
+ .setting(clap::AppSettings::SubcommandRequired),
+ )
+ .subcommand(
clap::SubCommand::with_name("get")
.help("Retrieves the current setting for common tunnel options"),
)