Merge remote-tracking branch 'origin/master' into psmit-hidden_command
This commit is contained in:
2
help.go
2
help.go
@@ -194,7 +194,7 @@ func printHelp(out io.Writer, templ string, data interface{}) {
|
||||
// If the writer is closed, t.Execute will fail, and there's nothing
|
||||
// we can do to recover.
|
||||
if os.Getenv("CLI_TEMPLATE_ERROR_DEBUG") != "" {
|
||||
fmt.Fprintf(os.Stderr, "CLI TEMPLATE ERROR: %#v\n", err)
|
||||
fmt.Fprintf(ErrWriter, "CLI TEMPLATE ERROR: %#v\n", err)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user