x.py test --test-args flag description enhancement

This commit is contained in:
Nelson J Morais 2020-10-22 18:36:16 +01:00
parent 07a63e6d1f
commit c3cbaf64d3
1 changed files with 7 additions and 1 deletions

View File

@ -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",