Skip to content

Conversation

bkhouri
Copy link
Contributor

@bkhouri bkhouri commented Sep 30, 2025

Adding an @Option that is an Array of Enum flag did not display the help message correctly.

Update the HelpGenerator to handle this case.

Fixes: #818

Checklist

  • I've added at least one test that validates that my change is working, if appropriate
  • I've followed the code style of the rest of the project
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary

Adding an `@Option` that is an Array of Enum flag did not display the
help message correctly.

Update the HelpGenerator to handle this case.

Fixes: #818
@bkhouri bkhouri changed the title Display help of array list of enum items Properly display help message of array of enum items option Sep 30, 2025
@bkhouri
Copy link
Contributor Author

bkhouri commented Sep 30, 2025

@swift-ci test

Copy link
Member

@natecook1000 natecook1000 left a comment

Choose a reason for hiding this comment

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

LGTM!

@natecook1000 natecook1000 merged commit 84babd6 into main Oct 1, 2025
31 checks passed
@natecook1000 natecook1000 deleted the bkhouri/t/main/gh818_enum_list_with_Default_does_not_output_correct-help branch October 1, 2025 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

some of the help text not rendered properly when option is EnumFlag
2 participants