Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hideInheritedFlags (0.15 sec)

  1. istioctl/cmd/root.go

    	analyzeCmd := analyze.Analyze(ctx)
    	hideInheritedFlags(analyzeCmd, cli.FlagIstioNamespace)
    	rootCmd.AddCommand(analyzeCmd)
    
    	dashboardCmd := dashboard.Dashboard(ctx)
    	hideInheritedFlags(dashboardCmd, cli.FlagNamespace, cli.FlagIstioNamespace)
    	rootCmd.AddCommand(dashboardCmd)
    
    	manifestCmd := mesh.ManifestCmd(ctx)
    	hideInheritedFlags(manifestCmd, cli.FlagNamespace, cli.FlagIstioNamespace, FlagCharts)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Aug 05 02:08:47 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. istioctl/cmd/root_test.go

    	checkHelpForFlag(t, got, parentFlag1, true)
    	checkHelpForFlag(t, got, parentFlag2, true)
    	checkHelpForFlag(t, got, childFlag2, true)
    
    	// verify the hidden parent flag is not visible in help text
    	hideInheritedFlags(child, parentFlag1, parentFlag2)
    	if err := parent.Execute(); err != nil {
    		t.Fatal(err)
    	}
    	got = out.String()
    	out.Reset()
    	checkHelpForFlag(t, got, parentFlag0, true)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 15 17:59:55 UTC 2021
    - 2.4K bytes
    - Viewed (0)
Back to top