minor #32946 [Messenger] Fixed ConsumeMessagesCommand configuration (lyrixx)

This PR was merged into the 4.3 branch.

Discussion
----------

[Messenger] Fixed ConsumeMessagesCommand configuration

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | no
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

e9293108c4 [Messenger] Fixed ConsumeMessagesCommand configuration
This commit is contained in:
Fabien Potencier 2019-08-05 15:02:42 +02:00
commit b6d6c6b03f

View File

@ -96,7 +96,7 @@ class ConsumeMessagesCommand extends Command
new InputOption('memory-limit', 'm', InputOption::VALUE_REQUIRED, 'The memory limit the worker can consume'),
new InputOption('time-limit', 't', InputOption::VALUE_REQUIRED, 'The time limit in seconds the worker can run'),
new InputOption('sleep', null, InputOption::VALUE_REQUIRED, 'Seconds to sleep before asking for new messages after no messages were found', 1),
new InputOption('bus', 'b', InputOption::VALUE_REQUIRED, 'Name of the bus to which received messages should be dispatched (if not passed, bus is determined automatically.'),
new InputOption('bus', 'b', InputOption::VALUE_REQUIRED, 'Name of the bus to which received messages should be dispatched (if not passed, bus is determined automatically)'),
])
->setDescription('Consumes messages')
->setHelp(<<<'EOF'