We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ef3724 commit 19b183aCopy full SHA for 19b183a
src/main.rs
@@ -30,9 +30,12 @@ pub fn main() -> Result<()> {
30
help::print_help();
31
return Ok(())
32
}
33
- other => return Err(anyhow!(
34
- "Unsupported subcommand `{:?}`. See `bootimage --help` for an overview of supported programs.", other
35
- ))
+ Some(other) => return Err(anyhow!(
+ "Unsupported subcommand `{:?}`. See `bootimage --help` for an overview of supported subcommands.", other
+ )),
36
+ None => return Err(anyhow!(
37
+ "Please invoke bootimage with a subcommand. See `bootimage --help` for more information."
38
39
40
41
let exit_code = match RunnerCommand::parse_args(raw_args)? {
0 commit comments