- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SetFlagErrorFunc (0.13 sec)
-
istioctl/cmd/root.go
seenCommands[curCmd] = true for _, command := range curCmd.Commands() { if !seenCommands[command] { commandStack = append(commandStack, command) } } curCmd.SetFlagErrorFunc(func(_ *cobra.Command, e error) error { return util.CommandParseError{Err: e} }) } return rootCmd } func hideInheritedFlags(orig *cobra.Command, hidden ...string) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Aug 05 02:08:47 UTC 2024 - 9.6K bytes - Viewed (0)