Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetFlagErrorFunc (0.1 sec)

  1. 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)
Back to top