feat: update -version
output
This commit is contained in:
parent
b645d6270a
commit
26bafe517f
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue