File tree 3 files changed +5
-13
lines changed 3 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 5
5
"package" : " swift-argument-parser" ,
6
6
"repositoryURL" : " https://github.com/apple/swift-argument-parser.git" ,
7
7
"state" : {
8
- <<<<<<< HEAD
9
- "branch" : " master" ,
10
- "revision" : " 15351c1cd009eba0b6e438bfef55ea9847a8dc4a" ,
11
- "version" : null
12
- =======
13
8
"branch" : null ,
14
- "revision" : " 223d62adc52d51669ae2ee19bdb8b7d9fd6fcd9c" ,
15
- "version" : " 0.0.6"
16
- >>>>>>> Add swift-argument-parser to the cmake build
9
+ "revision" : " 15351c1cd009eba0b6e438bfef55ea9847a8dc4a" ,
10
+ "version" : " 0.3.0"
17
11
}
18
12
},
19
13
{
Original file line number Diff line number Diff line change @@ -75,13 +75,12 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
75
75
package . dependencies += [
76
76
. package ( url: " https://github.com/apple/swift-tools-support-core.git " , . branch( " master " ) ) ,
77
77
. package ( url: " https://github.com/jpsim/Yams.git " , . branch( " master " ) ) ,
78
- . package ( url: " https://github.com/apple/swift-argument-parser.git " , . exact( " 0.0.6 " ) )
78
+ . package ( url: " https://github.com/apple/swift-argument-parser.git " , . exact( " 0.3.0 " ) )
79
79
]
80
80
} else {
81
81
package . dependencies += [
82
82
. package ( path: " ../swiftpm/swift-tools-support-core " ) ,
83
83
. package ( path: " ../yams " ) ,
84
- . package ( path: " ../llbuild " ) ,
85
84
. package ( path: " ../swift-argument-parser " ) ,
86
85
]
87
86
}
Original file line number Diff line number Diff line change @@ -16,13 +16,12 @@ extension DriverKind: ExpressibleByArgument {}
16
16
17
17
struct SwiftHelp : ParsableCommand {
18
18
@ArgumentParser . Option ( name: . customLong( " tool " , withSingleDash: true ) ,
19
- default: . interactive,
20
19
help: " The tool to list options of " )
21
- var tool : DriverKind
20
+ var tool : DriverKind = . interactive
22
21
23
22
@Flag ( name: . customLong( " show-hidden " , withSingleDash: true ) ,
24
23
help: " List hidden (unsupported) options " )
25
- var showHidden : Bool
24
+ var showHidden : Bool = false
26
25
27
26
func run( ) throws {
28
27
let driverOptionTable = OptionTable ( )
You can’t perform that action at this time.
0 commit comments