]> git.lizzy.rs Git - rust.git/commitdiff
libtest: change CLI usage string to be true
authorAlex Burka <durka42+github@gmail.com>
Thu, 17 Dec 2015 16:26:58 +0000 (11:26 -0500)
committerAlex Burka <durka42+github@gmail.com>
Thu, 17 Dec 2015 16:26:58 +0000 (11:26 -0500)
Relevant to #30422.

src/libtest/lib.rs

index 7ffe567ac83c135a82c54beefb5d1a2424dde1c6..9f317fceb0714928e3e6cb9a8f5d71bfa76c275d 100644 (file)
@@ -328,8 +328,8 @@ fn usage(binary: &str) {
     let message = format!("Usage: {} [OPTIONS] [FILTER]", binary);
     println!(r#"{usage}
 
-The FILTER regex is tested against the name of all tests to run, and
-only those tests that match are run.
+The FILTER string is tested against the name of all tests, and only those
+tests whose names contain the filter are run.
 
 By default, all tests are run in parallel. This can be altered with the
 RUST_TEST_THREADS environment variable when running tests (set it to 1).