From 5d424ae8d143501cd1b441b3f7eac3f7fb03d1c8 Mon Sep 17 00:00:00 2001 From: Sebastian Mark Date: Fri, 8 Nov 2024 14:22:54 +0100 Subject: [PATCH] feat: update `-version` output --- cmd/server/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/server/main.go b/cmd/server/main.go index a109f38..2024fa2 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -28,8 +28,8 @@ func Start() { // show server and protocl version and exit if *showVersionFlag { - fmt.Println("Server-Version:", metadata.GoTomatoVersion) - fmt.Println("Protocol-Version:", metadata.ProtocolVersion) + fmt.Printf("GoTomato v%s\n", metadata.GoTomatoVersion) + fmt.Printf("Protocol-Version: %s\n", metadata.ProtocolVersion) os.Exit(0) }