From ef492f6178ba0349e93d8180006b41bc1dc0afc1 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 21 Apr 2019 18:02:34 +0900 Subject: [PATCH] Output --help message to standard output Close #1554 --- src/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }