Skip to content

Commit

Permalink
fix: add new line after version cmd output
Browse files Browse the repository at this point in the history
Signed-off-by: Nuno Adrego <55922671+nunoadrego@users.noreply.github.com>
  • Loading branch information
nunoadrego committed Apr 14, 2023
1 parent 763b8b9 commit 92e7b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},
}

Expand Down

0 comments on commit 92e7b3d

Please sign in to comment.