Merge pull request #10068 from rifelpet/channels-errors

Cleanup channels error output
This commit is contained in:
Kubernetes Prow Robot 2020-10-19 11:02:14 -07:00 committed by GitHub
commit edd034b986
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -46,6 +46,8 @@ func NewCmdRoot(f Factory, out io.Writer) *cobra.Command {
cmd := &cobra.Command{
Use: "channels",
Short: "channels applies software from a channel",
SilenceErrors: true,
SilenceUsage: true,
}
cmd.PersistentFlags().AddGoFlagSet(goflag.CommandLine)