m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-15 06:43:47 -05:00

Output --help message to standard output

Close #1554
This commit is contained in:
Junegunn Choi
2019-04-21 18:02:34 +09:00
parent 8eea45ef50
commit ef492f6178

View File

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