version command returns linebreak at the end of the string
This commit is contained in:
parent
8d389aa3ad
commit
b013451c4c
@ -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
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user