Use ErrorWriter in cli so that errors get written to stderr
This commit is contained in:
parent
b95bbd7cbe
commit
dee06bbe08
|
@ -15,7 +15,7 @@ import (
|
|||
var Commands map[string]cli.CommandFactory
|
||||
|
||||
func init() {
|
||||
ui := &cli.BasicUi{Writer: os.Stdout}
|
||||
ui := &cli.BasicUi{Writer: os.Stdout, ErrorWriter: os.Stderr}
|
||||
|
||||
Commands = map[string]cli.CommandFactory{
|
||||
"agent": func() (cli.Command, error) {
|
||||
|
|
Loading…
Reference in a new issue