1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00

fix(cli): add help description for test --jobs option (#11415)

This commit is contained in:
Casper Beyer 2021-07-18 06:27:37 +08:00 committed by GitHub
parent 03ba63e108
commit e0e26b4101
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1059,6 +1059,7 @@ fn test_subcommand<'a, 'b>() -> App<'a, 'b> {
Arg::with_name("jobs")
.short("j")
.long("jobs")
.help("Number of parallel workers, defaults to # of CPUs when no value is provided. Defaults to 1 when the option is not present.")
.min_values(0)
.max_values(1)
.takes_value(true)