diff --git a/Sources/sourcekit-lsp/SourceKitLSP.swift b/Sources/sourcekit-lsp/SourceKitLSP.swift index fc8abf12c..bef326ba8 100644 --- a/Sources/sourcekit-lsp/SourceKitLSP.swift +++ b/Sources/sourcekit-lsp/SourceKitLSP.swift @@ -10,6 +10,8 @@ // //===----------------------------------------------------------------------===// +import ArgumentParser +import struct Basics.SwiftVersion import BuildSystemIntegration import Csourcekitd // Not needed here, but fixes debugging... import Diagnose @@ -56,6 +58,7 @@ struct SourceKitLSP: AsyncParsableCommand { static let configuration = CommandConfiguration( commandName: "sourcekit-lsp", abstract: "Language Server Protocol implementation for Swift and C-based languages", + version: "sourcekit-lsp \(Basics.SwiftVersion.current.displayString)", subcommands: [ DiagnoseCommand.self, DebugCommand.self,