Skip to content

Commit 3ef27d8

Browse files
committed
Remove help subcommand from cli
1 parent 9d35350 commit 3ef27d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const HELP: &str = "\
2424
";
2525

2626
#[derive(ClapParser, Debug)]
27-
#[command(about = "Rust Quiz", version, author, help_template = HELP)]
27+
#[command(about = "Rust Quiz", version, author, help_template = HELP, disable_help_subcommand = true)]
2828
struct Opt {
2929
#[clap(subcommand)]
3030
serve: Option<Subcommand>,

0 commit comments

Comments
 (0)