diff --git a/cmd/root.go b/cmd/root.go index 8497b02f..6a3e4b0d 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -64,7 +64,7 @@ func (cli *Cli) setFlags() { kubeconfig := flag.String("kubeconfig", filepath.Join(homeDir(), ".kube", "config"), "(optional) absolute path to the kubeconfig file") flags := cli.rootCmd.PersistentFlags() flags.StringVar(&cfgFile, "config", *kubeconfig, "path of kubeconfig") - flags.IntVar(&uiSize, "ui-size", 4, "number of list items to show in menu at once") + flags.IntVarP(&uiSize, "ui-size", "u", 4, "number of list items to show in menu at once") flags.BoolVarP(&silenceTable, "silence-table", "s", false, "enable/disable output of context table on successful config update") flags.BoolVarP(&macNotify, "mac-notify", "m", false, "enable to display Mac notification banner") }