Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request vitessio#5996 from planetscale/print-version-on-st…
Browse files Browse the repository at this point in the history
…artup

For all binaries, print version output on startup
  • Loading branch information
sougou authored Mar 31, 2020
2 parents bcb293a + b77adb3 commit 4362054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/servenv/servenv.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ func RunDefault() {
func ParseFlags(cmd string) {
flag.Parse()

AppVersion.Print()
if *Version {
AppVersion.Print()
os.Exit(0)
}

Expand Down

0 comments on commit 4362054

Please sign in to comment.