Skip to content

Commit

Permalink
Rollup merge of #78243 - njasm:patch_test_args_description, r=jyn514
Browse files Browse the repository at this point in the history
--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)
  • Loading branch information
jonas-schievink authored Oct 24, 2020
2 parents 86c07a4 + c3cbaf6 commit 6b2ed99
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/bootstrap/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,13 @@ To learn more about a subcommand, run `./x.py <subcommand> -h`",
match subcommand.as_str() {
"test" | "t" => {
opts.optflag("", "no-fail-fast", "Run all tests regardless of failure");
opts.optmulti("", "test-args", "extra arguments", "ARGS");
opts.optmulti(
"",
"test-args",
"extra arguments to be passed for the test tool being used \
(e.g. libtest, compiletest or rustdoc)",
"ARGS",
);
opts.optmulti(
"",
"rustc-args",
Expand Down

0 comments on commit 6b2ed99

Please sign in to comment.