Skip to content

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

@danez

Description

@danez

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions