( IOStreams *iostreams.IOStreams, command *cobra.Command, flagsToDisplay []string, )
| 134 | } |
| 135 | |
| 136 | func UsageFuncWithFilteredFlags( |
| 137 | IOStreams *iostreams.IOStreams, |
| 138 | command *cobra.Command, |
| 139 | flagsToDisplay []string, |
| 140 | ) func(cmd *cobra.Command) error { |
| 141 | filteredFlags := filterFlagSet(*command.LocalFlags(), flagsToDisplay) |
| 142 | |
| 143 | return UsageFunc(IOStreams, command, filteredFlags.FlagUsages()) |
| 144 | } |
| 145 | |
| 146 | func UsageFuncWithFilteredAndInheritedFlags( |
| 147 | IOStreams *iostreams.IOStreams, |
nothing calls this directly
no test coverage detected