Skip to content

Commit 5e935ad

Browse files
committed
rustdoc: fix test's saved stdout
Also reword "test-builder-wrapper" argument help.
1 parent 6a86e76 commit 5e935ad

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/librustdoc/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,8 @@ fn opts() -> Vec<RustcOptGroup> {
555555
o.optmulti(
556556
"",
557557
"test-builder-wrapper",
558-
"The wrapper program for running rustc",
559-
"WRAPPER",
558+
"Wrapper program to pass test-builder and arguments",
559+
"PATH",
560560
)
561561
}),
562562
unstable("check", |o| o.optflagmulti("", "check", "Run rustdoc checks")),

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

+2
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ Options:
150150

151151
--test-builder PATH
152152
The rustc-like binary to use as the test builder
153+
--test-builder-wrapper PATH
154+
Wrapper program to pass test-builder and arguments
153155
--check Run rustdoc checks
154156
--generate-redirect-map
155157
Generate JSON file at the top level instead of

0 commit comments

Comments
 (0)