Skip to content

Commit 3d53242

Browse files
committed
rustdoc: fix test's saved stdout
Also reword "test-builder-wrapper" argument help.
1 parent 58dee7d commit 3d53242

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/librustdoc/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,8 @@ fn opts() -> Vec<RustcOptGroup> {
534534
o.optmulti(
535535
"",
536536
"test-builder-wrapper",
537-
"The wrapper program for running rustc",
538-
"WRAPPER",
537+
"Wrapper program to pass test-builder and arguments",
538+
"PATH",
539539
)
540540
}),
541541
unstable("check", |o| o.optflagmulti("", "check", "Run rustdoc checks")),

tests/run-make/issue-88756-default-output/output-default.stdout

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ Options:
147147

148148
--test-builder PATH
149149
The rustc-like binary to use as the test builder
150+
--test-builder-wrapper PATH
151+
Wrapper program to pass test-builder and arguments
150152
--check Run rustdoc checks
151153
--generate-redirect-map
152154
Generate JSON file at the top level instead of

0 commit comments

Comments
 (0)