Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
adds shorthand -v flag for kubeconfig command
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitropoulos committed Sep 20, 2019
1 parent cc11066 commit 38b2c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/wksctl/kubeconfig/kubeconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func init() {
Cmd.Flags().MarkHidden("insecure-skip-tls-verify")

// Intentionally shadows the globally defined --verbose flag.
Cmd.Flags().BoolVar(&kubeconfigOptions.verbose, "verbose", false, "Enable verbose output")
Cmd.Flags().BoolVarP(&kubeconfigOptions.verbose, "verbose", "v", false, "Enable verbose output")
}

func kubeconfigRun(cmd *cobra.Command, args []string) error {
Expand Down

0 comments on commit 38b2c60

Please sign in to comment.