From 3d53242e53bcf4f43f7d361cb7e2a4a28f30db9c Mon Sep 17 00:00:00 2001 From: Travis Finkenauer Date: Sun, 20 Aug 2023 01:02:13 -0700 Subject: [PATCH] rustdoc: fix test's saved stdout Also reword "test-builder-wrapper" argument help. --- src/librustdoc/lib.rs | 4 ++-- .../run-make/issue-88756-default-output/output-default.stdout | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index 9618690575a..18651875130 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -534,8 +534,8 @@ fn opts() -> Vec { 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")), diff --git a/tests/run-make/issue-88756-default-output/output-default.stdout b/tests/run-make/issue-88756-default-output/output-default.stdout index 38a3965f0c5..12c1b389fb3 100644 --- a/tests/run-make/issue-88756-default-output/output-default.stdout +++ b/tests/run-make/issue-88756-default-output/output-default.stdout @@ -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