chg: [CLI] Start worker help

pull/7970/head
Jakub Onderka 2021-11-18 12:16:45 +01:00
parent 4b380f199d
commit c34dee0b01
1 changed files with 1 additions and 4 deletions

View File

@ -28,10 +28,7 @@ class StartWorkerShell extends AppShell
$parser = parent::getOptionParser();
$parser
->addArgument('queue', [
'help' => sprintf(
'Name of the queue to process. Must be one of [%]',
implode(', ', $this->BackgroundJobsTool->getQueues())
),
'help' => 'Name of the queue to process.',
'choices' => $this->BackgroundJobsTool->getQueues(),
'required' => true
])