Skip to content

Commit 6b2ed99

Browse files
Rollup merge of #78243 - njasm:patch_test_args_description, r=jyn514
--test-args flag description tiny enhancement/clarification for the help description of the `--test-args` option from `x.py test` subcommand. Edit: ...as discussed in zulip [here](https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/x.2Epy.20run.20single.20unit.20test.3F/near/214107842)
2 parents 86c07a4 + c3cbaf6 commit 6b2ed99

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/bootstrap/flags.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,13 @@ To learn more about a subcommand, run `./x.py <subcommand> -h`",
232232
match subcommand.as_str() {
233233
"test" | "t" => {
234234
opts.optflag("", "no-fail-fast", "Run all tests regardless of failure");
235-
opts.optmulti("", "test-args", "extra arguments", "ARGS");
235+
opts.optmulti(
236+
"",
237+
"test-args",
238+
"extra arguments to be passed for the test tool being used \
239+
(e.g. libtest, compiletest or rustdoc)",
240+
"ARGS",
241+
);
236242
opts.optmulti(
237243
"",
238244
"rustc-args",

0 commit comments

Comments
 (0)