break: drop "v" from version string const
- removes "v" from the ProtocolVersion in the ServerMessage - remove "v" prefix from GoTomatoVersion constant - re-add "v" for for human readable output (`-version`) - update README
This commit is contained in:
parent
d7b7789051
commit
cbe2e007de
3 changed files with 8 additions and 8 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("Server-Version: v%s\n", metadata.GoTomatoVersion)
|
||||
fmt.Printf("Protocol-Version: v%s\n", metadata.ProtocolVersion)
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue