Rollup merge of #77624 - akoptelov:c-all-targets-fix, r=jyn514

Add c as a shorthand check alternative for new options #77603

There is a missing "c" that is a shorthand for "check" in newly added match arm for handling check-specific options.
This commit is contained in:
Dylan DPC 2020-10-07 00:16:16 +02:00 committed by GitHub
commit f600154be6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -254,7 +254,7 @@ To learn more about a subcommand, run `./x.py <subcommand> -h`",
`/<build_base>/rustfix_missing_coverage.txt`", `/<build_base>/rustfix_missing_coverage.txt`",
); );
} }
"check" => { "check" | "c" => {
opts.optflag("", "all-targets", "Check all targets"); opts.optflag("", "all-targets", "Check all targets");
} }
"bench" => { "bench" => {