feat: update -version output

This commit is contained in:
Sebastian Mark 2024-11-08 14:22:54 +01:00
parent 8c88ec0b50
commit 4d21e3c789

View file

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