Merge pull request #2548 from boingram/master

Use ErrorWriter in cli so that errors get written to stderr
This commit is contained in:
Kyle Havlovitz 2017-03-30 15:51:48 -07:00 committed by GitHub
commit bfc22c58e1
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,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) {