feat: update -version output

This commit is contained in:
Sebastian Mark 2024-11-08 14:22:54 +01:00
parent e9d8d2e2dd
commit 081e1ade47

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)
} }