Private GIT

Skip to content
Snippets Groups Projects
Commit 413497b1 authored by Richard Mitchell's avatar Richard Mitchell
Browse files

Fix output from version flag to be stdout

parent 4ea15329
No related branches found
No related tags found
No related merge requests found
package main
import (
"fmt"
"io/ioutil"
"log"
"net/http"
......@@ -69,7 +70,7 @@ func runServer() {
func main() {
command := kingpin.MustParse(app.Parse(os.Args[1:]))
if *version {
println(VERSION)
fmt.Printf("%s\n", VERSION)
} else {
switch command {
case run.FullCommand():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment