From 217e4eb40c0346e1d388da75ce60020c55b3b652 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Fri, 16 Mar 2018 12:59:52 -0400 Subject: [PATCH] Make help output use any custom stderr --- command/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/command/main.go b/command/main.go index 46f0cba247..e7c43c88a1 100644 --- a/command/main.go +++ b/command/main.go @@ -168,6 +168,7 @@ func RunCustom(args []string, runOpts *RunOptions) int { HelpFunc: groupedHelpFunc( cli.BasicHelpFunc("vault"), ), + HelpWriter: runOpts.Stderr, HiddenCommands: hiddenCommands, Autocomplete: true, AutocompleteNoDefaultFlags: true,