fix: add new line after version cmd output

Signed-off-by: Nuno Adrego <55922671+nunoadrego@users.noreply.github.com>
This commit is contained in:
Nuno Adrego
2023-04-14 11:37:19 +01:00
parent 763b8b92df
commit 92e7b3d3fb

View File

@@ -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)
},
}