refactor: update version output
- use `Println` for better readability
This commit is contained in:
parent
f5f51711a1
commit
f0ba6396b7
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue