Skip to content

Commit 38da97e

Browse files
authored
Merge pull request #1321 from apple/shahmishal/swift-version-info
Update the Swift help message to include `swift --version`
2 parents af14cc2 + f060950 commit 38da97e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/swift-help/main.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ struct SwiftHelp: ParsableCommand {
117117
print(" \(plainBold)swift repl\(plain)\(padding) Experiment with Swift code interactively")
118118
}
119119

120+
print("\n Use \(plainBold)`swift --version`\(plain) for Swift version information.")
120121
print("\n Use \(plainBold)`swift --help`\(plain) for descriptions of available options and flags.")
121122
print("\n Use \(plainBold)`swift help <subcommand>`\(plain) for more information about a subcommand.")
122123
print()

0 commit comments

Comments
 (0)