Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[bug] --verbose=<value> not performing as expected #31299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ymh199478 opened this issue Apr 28, 2019 · 2 comments
Closed

[bug] --verbose=<value> not performing as expected #31299

ymh199478 opened this issue Apr 28, 2019 · 2 comments

Comments

@ymh199478
Copy link

Symfony version(s) affected: master

Description

I saw that the Application.php-L874 has a handle to --verbose=<value>, but this usage raises an exception when the console is executed.

When I execute in the console:

$ <console-progrom-name> list --verbose=3

Will throw an exception:

[Symfony\Component\Console\Exception\RuntimeException]
The `--verbose` option does not accept a value.
@ymh199478
Copy link
Author

I checked the unit test, the unit test did not take effect because of the use of ArrayInput. This problem only occurs when using ArgvInput

@ymh199478
Copy link
Author

I saw an explanation about this behavior. This question is closed. !9566

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant