chore(cli): clarify use of concurrency option (#7840)

* add <number>

* add e2e tests

* add test with number
This commit is contained in:
Mert 2024-03-11 23:30:13 -04:00 committed by GitHub
parent e732cb68a7
commit d09980f646
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 39 additions and 1 deletions

View file

@ -44,7 +44,7 @@ program
.default(false),
)
.addOption(
new Option('-c, --concurrency', 'Number of assets to upload at the same time')
new Option('-c, --concurrency <number>', 'Number of assets to upload at the same time')
.env('IMMICH_UPLOAD_CONCURRENCY')
.default(4),
)