From b013451c4ccf0b96ecb0ba48e3a7351f1fac17c8 Mon Sep 17 00:00:00 2001 From: Marvin Steadfast Date: Tue, 27 Apr 2021 09:28:56 +0200 Subject: [PATCH] version command returns linebreak at the end of the string --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index 7cc90bf..7fdecab 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -44,7 +44,7 @@ var versionCmd = &cobra.Command{ Use: "version", Short: "Print version informations", Run: func(cmd *cobra.Command, args []string) { - fmt.Printf("wg-quicker %s, commit %s, build on %s", version, commit, date) // nolint: forbidigo + fmt.Printf("wg-quicker %s, commit %s, build on %s\n", version, commit, date) // nolint: forbidigo }, }