Skip to content

Conversation

@HypeMC
Copy link
Member

@HypeMC HypeMC commented Nov 16, 2025

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

Currently, completion values for global options aren't displayed when the command name is not specified:

# This works:
$ bin/console command --option <TAB>

# This does not:
$ bin/console --option <TAB>

Copy link
Member

@fabpot fabpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like a new feature to me and should probably target 8.1 instead.

@HypeMC
Copy link
Member Author

HypeMC commented Nov 20, 2025

@fabpot The reason I considered this a bug is that the current behavior works in some cases but not in others. As mentioned in the description, when the command name is present, everything works as expected. So it feels broken when it doesn't work without one.

@nicolas-grekas
Copy link
Member

Thank you @HypeMC.

@nicolas-grekas nicolas-grekas merged commit 2b3c186 into symfony:6.4 Nov 21, 2025
10 of 11 checks passed
@HypeMC HypeMC deleted the values-for-options branch November 21, 2025 13:30
This was referenced Nov 21, 2025
This was referenced Dec 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants