Skip to content

Commit 75bdb3b

Browse files
committed
Format long clap attribute on multiple lines
1 parent 3ef27d8 commit 75bdb3b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main.rs

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

2626
#[derive(ClapParser, Debug)]
27-
#[command(about = "Rust Quiz", version, author, help_template = HELP, disable_help_subcommand = true)]
27+
#[command(
28+
about = "Rust Quiz",
29+
version,
30+
author,
31+
help_template = HELP,
32+
disable_help_subcommand = true,
33+
)]
2834
struct Opt {
2935
#[clap(subcommand)]
3036
serve: Option<Subcommand>,

0 commit comments

Comments
 (0)