Use ErrorWriter in cli so that errors get written to stderr

pull/2548/head
Bo Ingram 8 years ago
parent 1b67c55c3e
commit 45142555a8

@ -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…
Cancel
Save