Skip to content

ArgumentParser 0.3.1

Compare
Choose a tag to compare
@natecook1000 natecook1000 released this 02 Sep 15:42
92646c0

Fixes

  • An option or flag can now declare a name with both single- and double-
    dash prefixes, such as -my-flag and --my-flag. Specify both names in the
    name parameter when declaring your property:

    @Flag(name: [.long, .customLong("my-flag", withSingleDash: true)])
    var myFlag = false
  • Parsing performance improvements.