Skip to content

Commit 3ebbf78

Browse files
durkajroesch
authored andcommitted
libtest: change CLI usage string to be true
Relevant to rust-lang#30422.
1 parent 34da077 commit 3ebbf78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libtest/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,8 @@ fn usage(binary: &str) {
326326
let message = format!("Usage: {} [OPTIONS] [FILTER]", binary);
327327
println!(r#"{usage}
328328
329-
The FILTER regex is tested against the name of all tests to run, and
330-
only those tests that match are run.
329+
The FILTER string is tested against the name of all tests, and only those
330+
tests whose names contain the filter are run.
331331
332332
By default, all tests are run in parallel. This can be altered with the
333333
RUST_TEST_THREADS environment variable when running tests (set it to 1).

0 commit comments

Comments
 (0)