Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ struct Opts {
)]
timeout: Option<usize>,

#[arg(short, long = "verbose", action = ArgAction::Count)]
#[arg(
short, long = "verbose",
help = "Multiple -v options increase verbosity, including the output of the bisection command. The maximum is 2.",
Comment thread
apiraino marked this conversation as resolved.
Outdated
action = ArgAction::Count)]
verbosity: u8,

#[arg(
Expand Down
3 changes: 2 additions & 1 deletion tests/cmd/bare-h.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ Options:
--term-new <TERM_NEW> Text shown when a test does match the condition requested
--term-old <TERM_OLD> Text shown when a test fails to match the condition requested
--test-dir <TEST_DIR> Root directory for tests [default: .]
-v, --verbose...
-v, --verbose... Multiple -v options increase verbosity, including the output of the
bisection command. The maximum is 2.
-V, --version Print version
--with-dev Download rustc-dev [default: no download]
--with-src Download rust-src [default: no download]
Expand Down
3 changes: 2 additions & 1 deletion tests/cmd/bare-help.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ Options:
[default: .]

-v, --verbose...

Multiple -v options increase verbosity, including the output of the bisection command. The
maximum is 2.

-V, --version
Print version
Expand Down
3 changes: 2 additions & 1 deletion tests/cmd/h.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ Options:
--term-new <TERM_NEW> Text shown when a test does match the condition requested
--term-old <TERM_OLD> Text shown when a test fails to match the condition requested
--test-dir <TEST_DIR> Root directory for tests [default: .]
-v, --verbose...
-v, --verbose... Multiple -v options increase verbosity, including the output of the
bisection command. The maximum is 2.
-V, --version Print version
--with-dev Download rustc-dev [default: no download]
--with-src Download rust-src [default: no download]
Expand Down
3 changes: 2 additions & 1 deletion tests/cmd/help.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ Options:
[default: .]

-v, --verbose...

Multiple -v options increase verbosity, including the output of the bisection command. The
maximum is 2.

-V, --version
Print version
Expand Down