Output --help message to standard output

Close #1554
pull/1564/head
Junegunn Choi 5 years ago
parent 8eea45ef50
commit ef492f6178
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -252,7 +252,7 @@ func defaultOptions() *Options {
}
func help(code int) {
os.Stderr.WriteString(usage)
os.Stdout.WriteString(usage)
os.Exit(code)
}

Loading…
Cancel
Save