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

Skip to content

[Console] Optional verbose value messes up parsing of arguments #9285

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
danez opened this issue Oct 12, 2013 · 1 comment · Fixed by #9566
Closed

[Console] Optional verbose value messes up parsing of arguments #9285

danez opened this issue Oct 12, 2013 · 1 comment · Fixed by #9566

Comments

@danez
Copy link
Contributor

danez commented Oct 12, 2013

I was trying to run the console script for composer/satis, but it fails with dev-master of symfony/console, is working with 2.3.6.

the command is: bin/satis -v build config.json ./web

What happens (as verbose now has optional values) is that the the second argument (build) is the value for verbose.

Is that expected?

if i try : bin/satis -vv build config.json ./web it works

Of course i could put the -v at the end, but is that now required?

@Tobion
Copy link
Contributor

Tobion commented Oct 13, 2013

Probably due to #8835

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

Successfully merging a pull request may close this issue.

2 participants