Closed
Description
Symfony version(s) affected: 4.1.1
Description
The usage section of help command output should not print command name as it is not supported.
How to reproduce
- Create a simple single command application using this example from documentation.
- Save it to ./bin/test.php file.
- Run the script with some argument (
./bin/test.php foo
) and make sure it works as expected. - Run the script as it suggested by help command (
./bin/test.php echo foo
). - The following error should appear: Too many arguments, expected arguments "foo".