diff options
| author | David Lönnhager <david.l@mullvad.net> | 2021-11-17 09:39:51 +0100 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2021-11-17 09:39:51 +0100 |
| commit | 4454bb8539d33dcca9eb567e0b059d52f7c7780c (patch) | |
| tree | eed6344452482751f9f3d292dc169d1438cb5b94 | |
| parent | dc0082554b1c006596f7d8250eec81211136e265 (diff) | |
| parent | d198e7b3e48ebc1607db80af9a975680842c87d1 (diff) | |
| download | mullvadvpn-4454bb8539d33dcca9eb567e0b059d52f7c7780c.tar.xz mullvadvpn-4454bb8539d33dcca9eb567e0b059d52f7c7780c.zip | |
Merge branch 'fix-cli-help'
| -rw-r--r-- | mullvad-cli/src/cmds/relay.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mullvad-cli/src/cmds/relay.rs b/mullvad-cli/src/cmds/relay.rs index 692195ef55..20f50a9a07 100644 --- a/mullvad-cli/src/cmds/relay.rs +++ b/mullvad-cli/src/cmds/relay.rs @@ -139,7 +139,7 @@ impl Command for Relay { .subcommand( clap::SubCommand::with_name("openvpn") .about("Set OpenVPN-specific constraints") - .setting(clap::AppSettings::SubcommandRequiredElseHelp) + .setting(clap::AppSettings::ArgRequiredElseHelp) .arg( clap::Arg::with_name("port") .help("Port to use. Either 'any' or a specific port") @@ -157,7 +157,7 @@ impl Command for Relay { .subcommand( clap::SubCommand::with_name("wireguard") .about("Set WireGuard-specific constraints") - .setting(clap::AppSettings::SubcommandRequiredElseHelp) + .setting(clap::AppSettings::ArgRequiredElseHelp) .arg( clap::Arg::with_name("port") .help("Port to use. Either 'any' or a specific port") |
