( IOStreams *iostreams.IOStreams, command *cobra.Command, )
| 11 | ) |
| 12 | |
| 13 | func rootUsageFunc( |
| 14 | IOStreams *iostreams.IOStreams, |
| 15 | command *cobra.Command, |
| 16 | ) func(cmd *cobra.Command) error { |
| 17 | return cmdutil.UsageFuncDefault(IOStreams, command) |
| 18 | } |
| 19 | |
| 20 | func rootFlagErrorFunc(cmd *cobra.Command, err error) error { |
| 21 | if err == pflag.ErrHelp { |
no test coverage detected