Skip to content

Commit 503cbbf

Browse files
committed
fix(lexarg)!: Rename --nocapture to --no-capture
See rust-lang/rust#133073
1 parent 4c8ba87 commit 503cbbf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • crates/libtest-lexarg/src

crates/libtest-lexarg/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Options:
108108
--ignored Run only ignored tests
109109
--include-ignored
110110
Run ignored and not ignored tests
111-
--nocapture don't capture stdout/stderr of each task, allow
111+
--no-capture don't capture stdout/stderr of each task, allow
112112
printing directly
113113
--show-output Show captured stdout of successful tests
114114
--test-threads n_threads
@@ -141,7 +141,7 @@ By default, all tests are run in parallel. This can be altered with the
141141
tests (set it to 1).
142142
143143
All tests have their standard output and standard error captured by default.
144-
This can be overridden with the --nocapture flag to a value other than "0".
144+
This can be overridden with the --no-capture flag to a value other than "0".
145145
Logging is not captured by default.
146146
147147
Test Attributes:
@@ -199,7 +199,7 @@ impl TestOptsBuilder {
199199
Long("list") => {
200200
self.opts.list = true;
201201
}
202-
Long("nocapture") => {
202+
Long("no-capture") => {
203203
self.opts.nocapture = true;
204204
}
205205
Long("test-threads") => {

0 commit comments

Comments
 (0)