Skip to content

Commit fa5ba7a

Browse files
committed
fix(lexarg): Move FILTER description into main help
1 parent 14a6470 commit fa5ba7a

File tree

1 file changed

+4
-5
lines changed
  • crates/libtest-lexarg/src

1 file changed

+4
-5
lines changed

crates/libtest-lexarg/src/lib.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ impl Default for OutputFormat {
9090
pub const UNSTABLE_OPTIONS: &str = "unstable-options";
9191

9292
pub const OPTIONS_HELP: &str = r#"
93+
Arguments:
94+
[FILTER]... Skip tests whose name does not match one of the filters
95+
9396
Options:
9497
--fail-fast Don't start new tests after the first failure
9598
--skip FILTER Skip tests whose names contain FILTER
@@ -123,11 +126,7 @@ Options:
123126
- unstable-options: Allow use of experimental features
124127
"#;
125128

126-
pub const AFTER_HELP: &str = r#"
127-
The FILTER string is tested against the name of all tests, and only those
128-
tests whose names contain the filter are run. Multiple filter strings may
129-
be passed, which will run all tests matching any of the filters.
130-
"#;
129+
pub const AFTER_HELP: &str = r#""#;
131130

132131
/// Intermediate CLI parser state for [`TestOpts`]
133132
///

0 commit comments

Comments
 (0)