Skip to content

Commit c59414e

Browse files
committed
other: add newline for version()
1 parent ad3cc0c commit c59414e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func arguments(cmd *cobra.Command, args []string) error {
9797

9898
// version just prints the current version of nmap-formatter
9999
func version() {
100-
fmt.Printf("nmap-formatter version: %s", VERSION)
100+
fmt.Printf("nmap-formatter version: %s\n", VERSION)
101101
}
102102

103103
// shouldShowVersion returns boolean whether app should show current version or not

0 commit comments

Comments
 (0)