apple / swift-argument-parser

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

Eliminate warnings re: CommandConfiguration init #636

Closed natecook1000 closed 3 months ago

natecook1000 commented 3 months ago

When the old (pre-aliases) initializer has all its default parameter values, it is selected as the overload because it has fewer parameters overall. Removing the default parameters allows it to still satisfy (very niche) source compat requirements without actually being available as an overload.

Checklist

natecook1000 commented 3 months ago

@swift-ci Please test