(cmd *cobra.Command, err error)
| 43 | } |
| 44 | |
| 45 | func rootFlagErrorFunc(cmd *cobra.Command, err error) error { |
| 46 | if err == pflag.ErrHelp { |
| 47 | return err |
| 48 | } |
| 49 | return cmdutil.FlagErrorWrap(err) |
| 50 | } |
| 51 | |
| 52 | var hasFailed bool |
| 53 |
nothing calls this directly
no test coverage detected