summaryrefslogtreecommitdiffhomepage
path: root/mullvad-cli
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2018-08-14 14:34:17 -0300
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2018-08-15 11:44:34 -0300
commite343fedb270fd0b379845f8cf53843fcfffb7849 (patch)
tree298333764c29f8bbe8a86147b51cf5fd5b7e698b /mullvad-cli
parentbcd21a7e071b2766c5645fb699570551a8fd42bb (diff)
downloadmullvadvpn-e343fedb270fd0b379845f8cf53843fcfffb7849.tar.xz
mullvadvpn-e343fedb270fd0b379845f8cf53843fcfffb7849.zip
Simplify `relay list` command in CLI
Diffstat (limited to 'mullvad-cli')
-rw-r--r--mullvad-cli/src/cmds/relay.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/mullvad-cli/src/cmds/relay.rs b/mullvad-cli/src/cmds/relay.rs
index 2bdf84f40a..5be05786cc 100644
--- a/mullvad-cli/src/cmds/relay.rs
+++ b/mullvad-cli/src/cmds/relay.rs
@@ -82,12 +82,7 @@ impl Command for Relay {
),
).subcommand(clap::SubCommand::with_name("get"))
.subcommand(
- clap::SubCommand::with_name("list")
- .setting(clap::AppSettings::SubcommandRequired)
- .subcommand(
- clap::SubCommand::with_name("locations")
- .about("List available countries and cities"),
- ),
+ clap::SubCommand::with_name("list").about("List available countries and cities"),
)
}