rustdoc: fix test's saved stdout

Also reword "test-builder-wrapper" argument help.
This commit is contained in:
Travis Finkenauer 2023-08-20 01:02:13 -07:00
parent 58dee7d781
commit 3d53242e53
2 changed files with 4 additions and 2 deletions

View File

@ -534,8 +534,8 @@ fn opts() -> Vec<RustcOptGroup> {
o.optmulti(
"",
"test-builder-wrapper",
"The wrapper program for running rustc",
"WRAPPER",
"Wrapper program to pass test-builder and arguments",
"PATH",
)
}),
unstable("check", |o| o.optflagmulti("", "check", "Run rustdoc checks")),

View File

@ -147,6 +147,8 @@ Options:
--test-builder PATH
The rustc-like binary to use as the test builder
--test-builder-wrapper PATH
Wrapper program to pass test-builder and arguments
--check Run rustdoc checks
--generate-redirect-map
Generate JSON file at the top level instead of