diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-10-24 14:12:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-24 14:12:05 +0200 |
| commit | 6b2ed99a5601ddeef2f8fb5b0f6368e3d0c0b44b (patch) | |
| tree | c8b7fc32da07fb28f3a79d1435900bad91017290 | |
| parent | 86c07a4955349dceb354158e572175ac0b09fc6f (diff) | |
| parent | c3cbaf64d3dbdd635153148a7f544a01fa209423 (diff) | |
| download | rust-6b2ed99a5601ddeef2f8fb5b0f6368e3d0c0b44b.tar.gz rust-6b2ed99a5601ddeef2f8fb5b0f6368e3d0c0b44b.zip | |
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)
| -rw-r--r-- | src/bootstrap/flags.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/bootstrap/flags.rs b/src/bootstrap/flags.rs index 22cfd0c5643..3834e50e3fa 100644 --- a/src/bootstrap/flags.rs +++ b/src/bootstrap/flags.rs @@ -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", |
