apple / swift-argument-parser

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

Display possible option values in help #594

Closed rauhul closed 10 months ago

rauhul commented 10 months ago

Updates HelpGenerator to print possible value options as a suffix to the user defined help string. In practice this looks like:

Set diagnostic level to report public declarations without an availability attribute. (values: error, warn, ignore; default: warn)

rauhul commented 10 months ago

@swift-ci please test

rauhul commented 10 months ago

@swift-ci please test

rauhul commented 10 months ago

@swift-ci please test