Skip to content

Commit 88a39e4

Browse files
committed
change exec to executable
1 parent 3319835 commit 88a39e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/swift-build/usage.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func usage(print: (String) -> Void = { print($0) }) {
2020
print("MODES:")
2121
print(" --configuration <value> Build with configuration (debug|release) [-c]")
2222
print(" --clean[=<mode>] Delete artefacts (build|dist) [-k]")
23-
print(" --init <mode> Creates a new Swift package (exec|library)")
23+
print(" --init <mode> Creates a new Swift package (executable|library)")
2424
print(" --fetch Fetch package dependencies")
2525
print("")
2626
print("OPTIONS:")
@@ -118,7 +118,7 @@ func parse(commandLineArguments args: [String]) throws -> (Mode, Options) {
118118
case (nil, .Init):
119119
mode = .Init(.Executable)
120120
switch try cruncher.peek() {
121-
case .Name("exec")?:
121+
case .Name("executable")?:
122122
cruncher.postPeekPop()
123123
case .Name("library")?:
124124
mode = .Init(.Library)

0 commit comments

Comments
 (0)