From f060950ae1bf38f0a2ce4cf7a1e6c2adc1144fe3 Mon Sep 17 00:00:00 2001 From: Mishal Shah Date: Wed, 29 Mar 2023 22:29:15 -0700 Subject: [PATCH] Update the Swift help message to include `swift --version` --- Sources/swift-help/main.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/swift-help/main.swift b/Sources/swift-help/main.swift index 0e03f49e7..3d12a75f0 100644 --- a/Sources/swift-help/main.swift +++ b/Sources/swift-help/main.swift @@ -117,6 +117,7 @@ struct SwiftHelp: ParsableCommand { print(" \(plainBold)swift repl\(plain)\(padding) Experiment with Swift code interactively") } + print("\n Use \(plainBold)`swift --version`\(plain) for Swift version information.") print("\n Use \(plainBold)`swift --help`\(plain) for descriptions of available options and flags.") print("\n Use \(plainBold)`swift help `\(plain) for more information about a subcommand.") print()