aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mumctl/src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/mumctl/src/main.rs b/mumctl/src/main.rs
index f2defc6..c6339f7 100644
--- a/mumctl/src/main.rs
+++ b/mumctl/src/main.rs
@@ -11,7 +11,9 @@ fn main() {
let matches = App::new("mumctl")
.setting(AppSettings::ArgRequiredElseHelp)
.subcommand(SubCommand::with_name("server")
+ .setting(AppSettings::ArgRequiredElseHelp)
.subcommand(SubCommand::with_name("connect")
+ .setting(AppSettings::ArgRequiredElseHelp)
.arg(Arg::with_name("host")
.required(true)
.index(1))
@@ -20,6 +22,7 @@ fn main() {
.index(2)))
.subcommand(SubCommand::with_name("disconnect")))
.subcommand(SubCommand::with_name("channel")
+ .setting(AppSettings::ArgRequiredElseHelp)
.subcommand(SubCommand::with_name("list")
.arg(Arg::with_name("short")
.short("s")