-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
ConsoleactionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.buggood first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Description
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:
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
Labels
ConsoleactionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.buggood first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.