diff options
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index dc00524..bcd3631 100644 --- a/src/main.rs +++ b/src/main.rs @@ -228,7 +228,11 @@ async fn main() -> Result<()> { error!("Use --help to find available subcommands"); return Err(anyhow!("Unknown subcommand: {}", other)) }, - None => return Err(anyhow!("No subcommand")), + None => { + error!("No subcommand."); + error!("Use --help to find available subcommands"); + return Err(anyhow!("No subcommand")) + }, } Ok(()) |