Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Point (0.12 sec)

  1. istioctl/cmd/options.go

    		// (Currently the only global options we show are help options)
    		rootCmd.PersistentFlags().VisitAll(func(flag *pflag.Flag) {
    			if _, ok := helpFlags[flag.Name]; ok {
    				// Currently every flag.Shorthand is "", so there is no point in showing shorthands
    				shorthand := "   "
    				if flag.Shorthand != "" {
    					shorthand = "-" + flag.Shorthand + ","
    				}
    				c.Printf("  %s --%s: %s\n", shorthand, flag.Name, flag.Usage)
    			}
    		})
    	})
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.8K bytes
    - Viewed (0)
Back to top