(cmd *cobra.Command, err error)
| 18 | } |
| 19 | |
| 20 | func rootFlagErrorFunc(cmd *cobra.Command, err error) error { |
| 21 | if err == pflag.ErrHelp { |
| 22 | return err |
| 23 | } |
| 24 | return cmdutil.FlagErrorWrap(err) |
| 25 | } |
| 26 | |
| 27 | var hasFailed bool |
| 28 |
nothing calls this directly
no test coverage detected