diff --git a/tool/tsh/tsh.go b/tool/tsh/tsh.go index 819b108b6ed85..248798c20e065 100644 --- a/tool/tsh/tsh.go +++ b/tool/tsh/tsh.go @@ -885,18 +885,18 @@ func Run(ctx context.Context, args []string, opts ...cliOption) error { bench.Flag("ticks", "Ticks per half distance").Default("100").Int32Var(&cf.BenchTicks) bench.Flag("scale", "Value scale in which to scale the recorded values").Default("1.0").Float64Var(&cf.BenchValueScale) - benchSSH := bench.Command("ssh", "Run SSH benchmark test") + benchSSH := bench.Command("ssh", "Run SSH benchmark test").Hidden() benchSSH.Arg("[user@]host", "Remote hostname and the login to use").Required().StringVar(&cf.UserHost) benchSSH.Arg("command", "Command to execute on a remote host").Required().StringsVar(&cf.RemoteCommand) benchSSH.Flag("port", "SSH port on a remote host").Short('p').Int32Var(&cf.NodePort) benchSSH.Flag("interactive", "Create interactive SSH session").BoolVar(&cf.BenchInteractive) benchSSH.Flag("random", "Connect to random hosts for each SSH session. The provided hostname must be all: tsh bench ssh --random @all ").BoolVar(&cf.BenchRandom) var benchKubeOpts benchKubeOptions - benchKube := bench.Command("kube", "Run Kube benchmark test") + benchKube := bench.Command("kube", "Run Kube benchmark test").Hidden() benchKube.Flag("kube-namespace", "Selects the ").Default("default").StringVar(&benchKubeOpts.namespace) - benchListKube := benchKube.Command("ls", "Run a benchmark test to list Pods") + benchListKube := benchKube.Command("ls", "Run a benchmark test to list Pods").Hidden() benchListKube.Arg("kube_cluster", "Kubernetes cluster to use").Required().StringVar(&cf.KubernetesCluster) - benchExecKube := benchKube.Command("exec", "Run a benchmark test to exec into the specified Pod") + benchExecKube := benchKube.Command("exec", "Run a benchmark test to exec into the specified Pod").Hidden() benchExecKube.Arg("kube_cluster", "Kubernetes cluster to use").Required().StringVar(&cf.KubernetesCluster) benchExecKube.Arg("pod", "Pod name to exec into").Required().StringVar(&benchKubeOpts.pod) benchExecKube.Arg("command", "Command to execute on a pod").Required().StringsVar(&cf.RemoteCommand)