diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2019-04-21 18:02:34 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2019-04-21 18:02:34 +0900 |
| commit | ef492f6178ba0349e93d8180006b41bc1dc0afc1 (patch) | |
| tree | 5590e193d47070d793c4e0cf004d972c3f17b455 /src | |
| parent | 8eea45ef5003e115cbbefc3a7fd9a81fea406bf3 (diff) | |
| download | fzf-ef492f6178ba0349e93d8180006b41bc1dc0afc1.tar.gz | |
Output --help message to standard output
Close #1554
Diffstat (limited to 'src')
| -rw-r--r-- | src/options.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.go b/src/options.go index 59cdccc0..3449f3dc 100644 --- a/src/options.go +++ b/src/options.go @@ -252,7 +252,7 @@ func defaultOptions() *Options { } func help(code int) { - os.Stderr.WriteString(usage) + os.Stdout.WriteString(usage) os.Exit(code) } |
