Skip to content

Commit 4c8ba87

Browse files
committed
fix(lexarg): Organize help output
1 parent 7f74135 commit 4c8ba87

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

  • crates/libtest-lexarg/src

crates/libtest-lexarg/src/lib.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -100,21 +100,19 @@ pub const UNSTABLE_OPTIONS: &str = "unstable-options";
100100

101101
pub const OPTIONS_HELP: &str = r#"
102102
Options:
103-
--include-ignored
104-
Run ignored and not ignored tests
105-
--ignored Run only ignored tests
103+
--skip FILTER Skip tests whose names contain FILTER (this flag can
104+
be used multiple times)
105+
--exact Exactly match filters rather than by substring
106106
--test Run tests and not benchmarks
107107
--bench Run benchmarks instead of tests
108-
--list List all tests and benchmarks
108+
--ignored Run only ignored tests
109+
--include-ignored
110+
Run ignored and not ignored tests
109111
--nocapture don't capture stdout/stderr of each task, allow
110112
printing directly
113+
--show-output Show captured stdout of successful tests
111114
--test-threads n_threads
112115
Number of threads used for running tests in parallel
113-
--skip FILTER Skip tests whose names contain FILTER (this flag can
114-
be used multiple times)
115-
-q, --quiet Display one character per test instead of one line.
116-
Alias to --format=terse
117-
--exact Exactly match filters rather than by substring
118116
--color auto|always|never
119117
Configure coloring of output:
120118
auto = colorize if stdout is a tty and tests are run
@@ -126,7 +124,9 @@ Options:
126124
pretty = Print verbose output;
127125
terse = Display one character per test;
128126
json = Output a json document;
129-
--show-output Show captured stdout of successful tests
127+
--list List all tests and benchmarks
128+
-q, --quiet Display one character per test instead of one line.
129+
Alias to --format=terse
130130
-Z unstable-options Enable nightly-only flags:
131131
unstable-options = Allow use of experimental features
132132
"#;

0 commit comments

Comments
 (0)