Skip to content

Commit

Permalink
Remove obsolete help text in arg description (#5947)
Browse files Browse the repository at this point in the history
* Remove obsolete help text in arg description

* Add periods
  • Loading branch information
weitzman committed Mar 30, 2024
1 parent d0398e7 commit 9ac45d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/core/QueueCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function getQueueService(): QueueFactory
* Run a specific queue by name.
*/
#[CLI\Command(name: self::RUN, aliases: ['queue-run'])]
#[CLI\Argument(name: 'name', description: 'The name of the queue to run, as defined in either hook_queue_info or hook_cron_queue_info.')]
#[CLI\Argument(name: 'name', description: 'The name of the queue to run.')]
#[CLI\Option(name: 'time-limit', description: 'The maximum number of seconds allowed to run the queue.')]
#[CLI\Option(name: 'items-limit', description: 'The maximum number of items allowed to run the queue.')]
#[CLI\Option(name: 'lease-time', description: 'The maximum number of seconds that an item remains claimed.')]
Expand Down Expand Up @@ -141,7 +141,7 @@ public function qList($options = ['format' => 'table']): RowsOfFields
* Delete all items in a specific queue.
*/
#[CLI\Command(name: self::DELETE, aliases: ['queue-delete'])]
#[CLI\Argument(name: 'name', description: 'The name of the queue to delete, as defined in either hook_queue_info or hook_cron_queue_info.')]
#[CLI\Argument(name: 'name', description: 'The name of the queue to delete.')]
#[CLI\ValidateQueueName(argumentName: 'name')]
#[CLI\Complete(method_name_or_callable: 'queueComplete')]
public function delete($name): void
Expand Down

0 comments on commit 9ac45d5

Please sign in to comment.