Skip to content

Commit

Permalink
Improve help text, if subcommand was not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuesch committed Nov 2, 2024
1 parent b267f3c commit ead6ea8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion letmein/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,10 @@ async fn async_main(opts: Opts) -> ah::Result<()> {
}
}
} else {
Err(err!("'letmein' requires a subcommand but one was not provided"))
Err(err!(
"'letmein' requires a subcommand but one was not provided. \
Please run 'letmein --help' for more information."
))
}
}

Expand Down

0 comments on commit ead6ea8

Please sign in to comment.