From f9a015e45a15654c6cd796ad6a4233342cdd3c53 Mon Sep 17 00:00:00 2001 From: SJC <88550136+sjcsjc123@users.noreply.github.com> Date: Mon, 18 Dec 2023 09:46:24 +0800 Subject: [PATCH] bug: shorthand `l` repeated (#702) Signed-off-by: sjcsjc123 <1401189096@qq.com> --- pkg/cmd/hgctl/dashboard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/hgctl/dashboard.go b/pkg/cmd/hgctl/dashboard.go index 67ba07ea1..9f49ab940 100644 --- a/pkg/cmd/hgctl/dashboard.go +++ b/pkg/cmd/hgctl/dashboard.go @@ -99,7 +99,7 @@ func newDashboardCmd() *cobra.Command { dashboardCmd.AddCommand(graf) envoy := envoyDashCmd() - envoy.PersistentFlags().StringVarP(&labelSelector, "selector", "l", "app=higress-gateway", "Label selector") + envoy.PersistentFlags().StringVarP(&labelSelector, "selector", "s", "app=higress-gateway", "Label selector") envoy.PersistentFlags().StringVarP(&envoyDashNs, "namespace", "n", "", "Namespace where the addon is running, if not specified, higress-system would be used") envoy.PersistentFlags().IntVar(&proxyAdminPort, "ui-port", defaultProxyAdminPort, "The component dashboard UI port.")