From 92e7b3d3fb00c33ac48230caac34f45729e2f6b2 Mon Sep 17 00:00:00 2001 From: Nuno Adrego <55922671+nunoadrego@users.noreply.github.com> Date: Fri, 14 Apr 2023 11:37:19 +0100 Subject: [PATCH] fix: add new line after version cmd output Signed-off-by: Nuno Adrego <55922671+nunoadrego@users.noreply.github.com> --- cmd/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/version.go b/cmd/version.go index 2ad6faf239..1e9b749634 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -10,7 +10,7 @@ var versionCmd = &cobra.Command{ Short: "Print the version number of k8sgpt", Long: `All software has versions. This is k8sgpt's`, Run: func(cmd *cobra.Command, args []string) { - cmd.Printf("k8sgpt version %s", version) + cmd.Printf("k8sgpt version %s\n", version) }, }