Skip to content

Commit b18a426

Browse files
committed
Fix rustdoc --test-builder argument parsing
1 parent fc9944f commit b18a426

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/librustdoc/lib.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -412,10 +412,11 @@ fn opts() -> Vec<RustcOptGroup> {
412412
)
413413
}),
414414
unstable("test-builder", |o| {
415-
o.optflag(
415+
o.optopt(
416416
"",
417417
"test-builder",
418-
"specified the rustc-like binary to use as the test builder",
418+
"specifies the rustc-like binary to use as the test builder",
419+
"PATH",
419420
)
420421
}),
421422
unstable("check", |o| o.optflag("", "check", "Run rustdoc checks")),

0 commit comments

Comments
 (0)