diff options
author | Nick Thomas <nick@gitlab.com> | 2018-10-12 16:55:13 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-10-12 16:55:13 +0300 |
commit | 786e3c5b03978b85336b73dbce743f4a707f8595 (patch) | |
tree | 5835b95c4aaa24d5f8a5245b57cbb04a23e85b86 /main.go | |
parent | af714e5dae4b516f8ad0b14d594969aaef76e0a1 (diff) |
Fix version display to include a newline
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -348,7 +348,7 @@ func createAdminHTTPSListener(config *appConfig) []io.Closer { func printVersion(showVersion bool, version string) { if showVersion { - fmt.Fprintf(os.Stderr, version) + fmt.Fprintf(os.Stderr, "%s\n", version) os.Exit(0) } } |