refactor: update version output

- use `Println` for better readability
This commit is contained in:
Sebastian Mark 2024-10-28 10:41:20 +01:00
parent f5f51711a1
commit f0ba6396b7

View file

@ -25,8 +25,8 @@ func Start() {
flag.Parse()
if *showVersionFlag {
fmt.Printf("App-Version: %s\n", metadata.GoTomatoVersion)
fmt.Printf("Protocol-Version: %s\n", metadata.ProtocolVersion)
fmt.Println("App-Version:", metadata.GoTomatoVersion)
fmt.Println("Protocol-Version:", metadata.ProtocolVersion)
os.Exit(0)
}