diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2018-09-27 15:36:13 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2018-09-27 15:36:13 +0200 |
| commit | e830dad2b1e00a2ef46382dfe71c80b0406686e8 (patch) | |
| tree | eb7db04951974780a61c0c4ad948c5e1c3b360fa /mullvad-cli/src/cmds/tunnel.rs | |
| parent | 00b0ba04092e97f3724260b943f3b138e8eb7b01 (diff) | |
| parent | 763d5e200947d616865ec3292c27347739d2d386 (diff) | |
| download | mullvadvpn-e830dad2b1e00a2ef46382dfe71c80b0406686e8.tar.xz mullvadvpn-e830dad2b1e00a2ef46382dfe71c80b0406686e8.zip | |
Merge branch 'update-rustfmt'
Diffstat (limited to 'mullvad-cli/src/cmds/tunnel.rs')
| -rw-r--r-- | mullvad-cli/src/cmds/tunnel.rs | 18 |
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"), ) |
