From c34dee0b01a17a1b00e04a1babdfc57379db78b6 Mon Sep 17 00:00:00 2001 From: Jakub Onderka Date: Thu, 18 Nov 2021 12:16:45 +0100 Subject: [PATCH] chg: [CLI] Start worker help --- app/Console/Command/StartWorkerShell.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/Console/Command/StartWorkerShell.php b/app/Console/Command/StartWorkerShell.php index 3b025f9e9..7be815aa4 100644 --- a/app/Console/Command/StartWorkerShell.php +++ b/app/Console/Command/StartWorkerShell.php @@ -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 ])