feat: update -version output

This commit is contained in:
Sebastian Mark 2024-11-08 14:22:54 +01:00
parent 6b90c5e4a2
commit a809f4c53e

View file

@ -28,7 +28,7 @@ func Start() {
// show server and protocl version and exit // show server and protocl version and exit
if *showVersionFlag { if *showVersionFlag {
fmt.Printf("Server-Version: v%s\n", metadata.GoTomatoVersion) fmt.Printf("GoTomato v%s\n", metadata.GoTomatoVersion)
fmt.Printf("Protocol-Version: v%s\n", metadata.ProtocolVersion) fmt.Printf("Protocol-Version: v%s\n", metadata.ProtocolVersion)
os.Exit(0) os.Exit(0)
} }