Skip to content

Commit 14a6470

Browse files
committed
fix(lexarg): Move test-threads into the option's description
1 parent 59677b3 commit 14a6470

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • crates/libtest-lexarg/src

crates/libtest-lexarg/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ Options:
106106
--list List all tests and benchmarks
107107
--test-threads NUM
108108
Number of threads used for running tests in parallel
109+
(default is >1)
109110
--format <pretty|terse|json>
110111
Configure formatting of output:
111112
- pretty: Print verbose output
@@ -126,9 +127,6 @@ pub const AFTER_HELP: &str = r#"
126127
The FILTER string is tested against the name of all tests, and only those
127128
tests whose names contain the filter are run. Multiple filter strings may
128129
be passed, which will run all tests matching any of the filters.
129-
130-
By default, all tests are run in parallel. This can be altered with the
131-
--test-threads flag when running tests (set it to 1).
132130
"#;
133131

134132
/// Intermediate CLI parser state for [`TestOpts`]

0 commit comments

Comments
 (0)