diff --git a/cmd/switch.go b/cmd/switch.go index e2bee5a4..cabdc3f1 100644 --- a/cmd/switch.go +++ b/cmd/switch.go @@ -26,10 +26,13 @@ import ( // switchCmd represents the switch command var switchCmd = &cobra.Command{ Use: "switch", - Short: "Switch Kube Context interactively", - Long: ` -# Select Kube Context + Short: "Switch Kube Context interactively.", + Example: ` +# Switch Kube Context interactively kubecm switch +`, + Long: ` +Switch Kube Context interactively. `, Run: func(cmd *cobra.Command, args []string) { config, err := LoadClientConfig(cfgFile)