Skip to content

Commit

Permalink
Fix rustdoc --test-builder argument parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
teryror committed Jan 12, 2021
1 parent fc9944f commit b18a426
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/librustdoc/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -412,10 +412,11 @@ fn opts() -> Vec<RustcOptGroup> {
)
}),
unstable("test-builder", |o| {
o.optflag(
o.optopt(
"",
"test-builder",
"specified the rustc-like binary to use as the test builder",
"specifies the rustc-like binary to use as the test builder",
"PATH",
)
}),
unstable("check", |o| o.optflag("", "check", "Run rustdoc checks")),
Expand Down

0 comments on commit b18a426

Please sign in to comment.