mirror of https://github.com/kubernetes/kops.git
Merge pull request #10068 from rifelpet/channels-errors
Cleanup channels error output
This commit is contained in:
commit
edd034b986
|
@ -44,8 +44,10 @@ func NewCmdRoot(f Factory, out io.Writer) *cobra.Command {
|
||||||
options := &CmdRootOptions{}
|
options := &CmdRootOptions{}
|
||||||
|
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "channels",
|
Use: "channels",
|
||||||
Short: "channels applies software from a channel",
|
Short: "channels applies software from a channel",
|
||||||
|
SilenceErrors: true,
|
||||||
|
SilenceUsage: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd.PersistentFlags().AddGoFlagSet(goflag.CommandLine)
|
cmd.PersistentFlags().AddGoFlagSet(goflag.CommandLine)
|
||||||
|
|
Loading…
Reference in New Issue