Issue Task Closed

#61630Output dashed name for missing command arguments on CLI

Mathias Brodala 09/16/14, 11:41 updated 10/02/18, 11:54

Description

If a command controller argument like “sayHelloTo” is not passed on CLI execution, an error message like this is shown:

> Required argument “sayHelloTo” is not set.
>
> Enter “./typo3/cli_dispatch.phpsh extbase help” for an overview of all available commands
> or “./typo3/cli_dispatch.phpsh extbase help <command identifier>“ for a detailed description of the corresponding command.

Even though the help command clarifies everything, it would be useful, if the error message did output --say-hello-to instead of sayHelloTo. This way one does not even have to look up the help.

Reviews 2