Task #37713
closedIncrease readability of cli messages
100%
Description
Calling the cli_dispatch in the terminal may lead to a message that a cliKey is not present. Afterwards an array is shown with keys and values.
That may lead to confusion, because an argument has to be a cli key - and submitting a key out of the array as argument does not work:
php /home/ingop/Sites/dev/typo3/cli_dispatch.phpsh 4 The supplied 'cliKey' is not valid. Valid keys are: array ( 0 => 'extbase', 1 => 'lowlevel_refindex', 2 => 'lowlevel_cleaner', 3 => 'lowlevel_admin', 4 => 'scheduler', 5 => 'phpunit', )
Showing a var_dump to a user may also lead to unnecessary confusion.
The solution is to simply show the arguments without any array key.
php /home/ingop/Sites/dev/typo3/cli_dispatch.phpsh This script must have a 'cliKey' as first argument. Valid keys are: extbase lowlevel_refindex lowlevel_cleaner lowlevel_admin scheduler phpunit
Updated by Gerrit Code Review over 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11809
Updated by Gerrit Code Review over 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11809
Updated by Gerrit Code Review over 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11809
Updated by Ingo Pfennigstorf over 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset bdaa1709b859b09d3fc578320eb14ed26f1a3eb0.