Skip to content

Commit f716c79

Browse files
committed
Fix verbose short flag.
1 parent a8c2806 commit f716c79

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ struct Opts {
130130
)]
131131
timeout: Option<usize>,
132132

133-
#[clap(long = "verbose", parse(from_occurrences))]
133+
#[clap(short, long = "verbose", parse(from_occurrences))]
134134
verbosity: usize,
135135

136136
#[clap(

tests/cmd/h.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ OPTIONS:
3232
hangs)
3333
--target <TARGET> Cross-compilation target platform
3434
--test-dir <TEST_DIR> Root directory for tests [default: .]
35+
-v, --verbose
3536
-V, --version Print version information
36-
--verbose
3737
--with-dev Download rustc-dev [default: no download]
3838
--with-src Download rust-src [default: no download]
3939
--without-cargo Do not install cargo [default: install cargo]

tests/cmd/help.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ OPTIONS:
3232
hangs)
3333
--target <TARGET> Cross-compilation target platform
3434
--test-dir <TEST_DIR> Root directory for tests [default: .]
35+
-v, --verbose
3536
-V, --version Print version information
36-
--verbose
3737
--with-dev Download rustc-dev [default: no download]
3838
--with-src Download rust-src [default: no download]
3939
--without-cargo Do not install cargo [default: install cargo]

0 commit comments

Comments
 (0)