Project

General

Profile

Actions

Task #61630

closed

Output dashed name for missing command arguments on CLI

Added by Mathias Brodala about 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Extbase
Target version:
Start date:
2014-09-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.


Files

command-argument-dashed.patch (1.42 KB) command-argument-dashed.patch Show dashed command argument name Mathias Brodala, 2014-09-16 11:41
Actions

Also available in: Atom PDF