diff --git a/Package.resolved b/Package.resolved index e52f131..13a262f 100644 --- a/Package.resolved +++ b/Package.resolved @@ -6,8 +6,8 @@ "repositoryURL": "https://github.com/apple/swift-argument-parser", "state": { "branch": null, - "revision": "8d31a0905c346a45c87773ad50862b5b3df8dff6", - "version": "0.0.4" + "revision": "15351c1cd009eba0b6e438bfef55ea9847a8dc4a", + "version": "0.3.0" } }, { diff --git a/Sources/unicode_properties/main.swift b/Sources/unicode_properties/main.swift index 96190f2..96394ad 100644 --- a/Sources/unicode_properties/main.swift +++ b/Sources/unicode_properties/main.swift @@ -72,10 +72,10 @@ func generateConstants(_ properties: [Substring: [ClosedRange]]) -> Stri struct Arguments: ParsableCommand { @Flag(name: .customLong("enumAndDictionary"), help: "Outputs an enum containing all the property names, and a dictionary with the enum as keys and arrays of ranges as values. Is the default.") - var enumAndDictionary: Bool + var enumAndDictionary: Bool = false @Flag(help: "Outputs the property names as constants with arrays of ranges as values.") - var constants: Bool + var constants: Bool = false @Argument(help: "The path to the Unicode property data file.", transform: { try String(contentsOfFile: $0)