Skip to content

Commit fb1c813

Browse files
committed
Add a chapter on the test harness.
1 parent 738cf0c commit fb1c813

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

test/src/cli.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,8 @@ fn optgroups() -> getopts::Options {
5151
.optflag("", "test", "Run tests and not benchmarks")
5252
.optflag("", "bench", "Run benchmarks instead of tests")
5353
.optflag("", "list", "List all tests and benchmarks")
54-
.optflag("h", "help", "Display this message (longer with --help)")
55-
.optopt(
56-
"",
57-
"logfile",
58-
"Write logs to the specified file instead \
59-
of stdout",
60-
"PATH",
61-
)
54+
.optflag("h", "help", "Display this message")
55+
.optopt("", "logfile", "Write logs to the specified file", "PATH")
6256
.optflag(
6357
"",
6458
"nocapture",

0 commit comments

Comments
 (0)