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 d69a4bec10
commit 5750ec96cb

View file

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