Skip to content

Commit

Permalink
version command returns linebreak at the end of the string
Browse files Browse the repository at this point in the history
  • Loading branch information
xsteadfastx committed Apr 27, 2021
1 parent 8d389aa commit b013451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
}

Expand Down

0 comments on commit b013451

Please sign in to comment.