Skip to content

Using Command Options describes missing feature #4110

Closed
@EdwardIII

Description

@EdwardIII

This feature seems to be missing/not working as expected:

It is also possible to make an option optionally accept a value (so that --yell or --yell=loud work). Options can also be configured to accept an array of values.

http://symfony.com/doc/current/components/console/introduction.html#using-command-options

While it's true you can specifiy --yell or yell=loud, it looks like you can't meaningfully distinguish between the two:

symfony/symfony#11572

Over on that issue they seem to think it's not really a symfony bug (or not a fixable one) and that maybe it's a documentation bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConsoleactionableClear and specific issues ready for anyone to take them.buggood first issueIdeal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions