mirror of https://github.com/status-im/consul.git
Use ErrorWriter in cli so that errors get written to stderr
This commit is contained in:
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…
Reference in New Issue