mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-09-20 02:31:59 +00:00
fix: add new line after version cmd output
Signed-off-by: Nuno Adrego <55922671+nunoadrego@users.noreply.github.com>
This commit is contained in:
@@ -10,7 +10,7 @@ var versionCmd = &cobra.Command{
|
|||||||
Short: "Print the version number of k8sgpt",
|
Short: "Print the version number of k8sgpt",
|
||||||
Long: `All software has versions. This is k8sgpt's`,
|
Long: `All software has versions. This is k8sgpt's`,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
cmd.Printf("k8sgpt version %s", version)
|
cmd.Printf("k8sgpt version %s\n", version)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user