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()
if *printVersion {
versionInfoTmpl.Execute(os.Stdout, BuildInfo)
if *printVersion {
os.Exit(0)
}

Loading…
Cancel
Save