Output --help message to standard output

Close #1554
This commit is contained in:
Junegunn Choi committed 2019-04-21 18:02:34 +09:00
1 parent 8eea45ef50
commit ef492f6178
1 file changed
+1 -1
+1 -1
View File
@@ -252,7 +252,7 @@ func defaultOptions() *Options {
}
func help(code int) {
os.Stderr.WriteString(usage)
os.Stdout.WriteString(usage)
os.Exit(code)
}