Skip to content

Commit eb975fd

Browse files
authored
Make queue commands' option descriptions more consistent (#58058)
1 parent 2f7611e commit eb975fd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/Illuminate/Queue/Console/ListenCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ class ListenCommand extends Command
2424
{--force : Force the worker to run even in maintenance mode}
2525
{--memory=128 : The memory limit in megabytes}
2626
{--queue= : The queue to listen on}
27-
{--sleep=3 : Number of seconds to sleep when no job is available}
28-
{--rest=0 : Number of seconds to rest between jobs}
27+
{--sleep=3 : The number of seconds to sleep when no job is available}
28+
{--rest=0 : The number of seconds to rest between jobs}
2929
{--timeout=60 : The number of seconds a child process can run}
30-
{--tries=1 : Number of times to attempt a job before logging it failed}';
30+
{--tries=1 : The number of times to attempt a job before logging it failed}';
3131

3232
/**
3333
* The console command description.

src/Illuminate/Queue/Console/WorkCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ class WorkCommand extends Command
4343
{--max-time=0 : The maximum number of seconds the worker should run}
4444
{--force : Force the worker to run even in maintenance mode}
4545
{--memory=128 : The memory limit in megabytes}
46-
{--sleep=3 : Number of seconds to sleep when no job is available}
47-
{--rest=0 : Number of seconds to rest between jobs}
46+
{--sleep=3 : The number of seconds to sleep when no job is available}
47+
{--rest=0 : The number of seconds to rest between jobs}
4848
{--timeout=60 : The number of seconds a child process can run}
49-
{--tries=1 : Number of times to attempt a job before logging it failed}
49+
{--tries=1 : The number of times to attempt a job before logging it failed}
5050
{--json : Output the queue worker information as JSON}';
5151

5252
/**

0 commit comments

Comments
 (0)