mirror of https://github.com/knative/client.git
Remove fmt.Printf of error since creates double error print to user (#96)
Fixes issue #89
This commit is contained in:
parent
b6d1bb47e7
commit
47a10c079d
|
|
@ -68,6 +68,9 @@ Eventing: Manage event subscriptions and channels. Connect up event sources.`,
|
|||
|
||||
// Affects children as well
|
||||
SilenceUsage: true,
|
||||
|
||||
// Prevents Cobra from dealing with errors as we deal with them in main.go
|
||||
SilenceErrors: true,
|
||||
}
|
||||
if p.Output != nil {
|
||||
rootCmd.SetOutput(p.Output)
|
||||
|
|
|
|||
Loading…
Reference in New Issue