diff options
Diffstat (limited to 'mullvad-cli/src/cmds')
| -rw-r--r-- | mullvad-cli/src/cmds/relay.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mullvad-cli/src/cmds/relay.rs b/mullvad-cli/src/cmds/relay.rs index ac9ee61c5f..692195ef55 100644 --- a/mullvad-cli/src/cmds/relay.rs +++ b/mullvad-cli/src/cmds/relay.rs @@ -139,6 +139,7 @@ impl Command for Relay { .subcommand( clap::SubCommand::with_name("openvpn") .about("Set OpenVPN-specific constraints") + .setting(clap::AppSettings::SubcommandRequiredElseHelp) .arg( clap::Arg::with_name("port") .help("Port to use. Either 'any' or a specific port") @@ -156,6 +157,7 @@ impl Command for Relay { .subcommand( clap::SubCommand::with_name("wireguard") .about("Set WireGuard-specific constraints") + .setting(clap::AppSettings::SubcommandRequiredElseHelp) .arg( clap::Arg::with_name("port") .help("Port to use. Either 'any' or a specific port") |
