Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Commit

Permalink
Payload is an optional argument
Browse files Browse the repository at this point in the history
  • Loading branch information
pkruithof committed Apr 24, 2015
1 parent b0133ac commit e7d4873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TreeHouse/WorkerBundle/Command/ExecuteCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected function configure()
$this
->setName('worker:execute')
->addArgument('action', InputArgument::REQUIRED, 'The action to execute')
->addArgument('payload', InputArgument::REQUIRED | InputArgument::IS_ARRAY, 'The payload to send to the action')
->addArgument('payload', InputArgument::OPTIONAL | InputArgument::IS_ARRAY, 'The payload to send to the action')
->setDescription('Executes a single job with given payload. This doesn\'t use the regular queue')
;
}
Expand Down

0 comments on commit e7d4873

Please sign in to comment.