File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,23 @@ package updates, you can specify your package dependency using
1616
1717---
1818
19+ ## [ 0.3.1] - 2020-09-02
20+
21+ ### Fixes
22+
23+ - An option or flag can now declare a name with both single- and double-
24+ dash prefixes, such as ` -my-flag ` and ` --my-flag ` . Specify both names in the
25+ ` name ` parameter when declaring your property:
26+
27+ ``` swift
28+ @Flag (name: [.long , .customLong (" my-flag" , withSingleDash : true )])
29+ var myFlag = false
30+ ```
31+
32+ - Parsing performance improvements.
33+
34+ ---
35+
1936## [ 0.3.0] - 2020-08-15
2037
2138### Additions
@@ -329,7 +346,8 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
329346
330347<!-- Link references for releases -->
331348
332- [ Unreleased ] : https://github.com/apple/swift-argument-parser/compare/0.3.0...HEAD
349+ [ Unreleased ] : https://github.com/apple/swift-argument-parser/compare/0.3.1...HEAD
350+ [ 0.3.1 ] : https://github.com/apple/swift-argument-parser/compare/0.3.0...0.3.1
333351[ 0.3.0 ] : https://github.com/apple/swift-argument-parser/compare/0.2.2...0.3.0
334352[ 0.2.2 ] : https://github.com/apple/swift-argument-parser/compare/0.2.1...0.2.2
335353[ 0.2.1 ] : https://github.com/apple/swift-argument-parser/compare/0.2.0...0.2.1
You can’t perform that action at this time.
0 commit comments