Always print version information when starting up

pull/189/head
Bernerd Schaefer 12 years ago
parent 45243ac2da
commit c152aa514f

@ -47,8 +47,9 @@ var (
func main() {
flag.Parse()
versionInfoTmpl.Execute(os.Stdout, BuildInfo)
if *printVersion {
versionInfoTmpl.Execute(os.Stdout, BuildInfo)
os.Exit(0)
}

Loading…
Cancel
Save