apple / swift-argument-parser

Straightforward, type-safe argument parsing for Swift
Apache License 2.0
3.31k stars 311 forks source link

Don't remove nested option group titles #592

Closed natecook1000 closed 10 months ago

natecook1000 commented 10 months ago

When option groups are nested, any titles of the nested groups are removed, even when the containing group doesn't have a title. This change preserves the nested groups' titles when grouped in an untitled option group. Nesting within a titled option group continues to override any nested option groups.

Fixes #585.

Checklist

natecook1000 commented 10 months ago

@swift-ci Please test