Skip to content

Conversation

@ssnepenthe
Copy link
Contributor

Fixes #5617

@ssnepenthe ssnepenthe requested a review from a team as a code owner February 7, 2022 20:57
@ssnepenthe
Copy link
Contributor Author

@wojsmol is there anything else that needs to be addressed in order for the pr to be merged?

@schlessera schlessera added this to the 2.7.0 milestone Jun 30, 2022
@schlessera schlessera merged commit 5508a6d into wp-cli:master Jun 30, 2022
@schlessera schlessera changed the title Handle optional option values in SynopsisParser::render() Handle optional option values in SynopsisParser::render() Jun 30, 2022
@drzraf
Copy link

drzraf commented Feb 21, 2023

I believe the combination with default doesn't work. (It'd gives true as a value instead of the one defined by default contrary to the string-based synopsis)

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.

Unable to register option with optional value using array synopsis syntax

4 participants