Print simple message if no subcommand

This commit is contained in:
Jez Cope 2021-07-06 20:17:36 +01:00
parent 2a14c1a446
commit 1740f9276b
1 changed files with 1 additions and 2 deletions

View File

@ -61,8 +61,7 @@ async fn main() -> Result<()> {
}
},
("", None) => {
let mut out = io::stdout();
app.write_long_help(&mut out).unwrap();
println!("No subcommand given: see `mxadm help` for usage information");
}
(c, _) => {
todo!("Subcommand '{}' not implemented yet!", c);