Skip to content

Commit

Permalink
Add shorthand for --kubeconfig, -k
Browse files Browse the repository at this point in the history
  • Loading branch information
rustydb committed Jun 30, 2024
1 parent 5fdbc47 commit 0dd06db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/cli/automation/ncn/ncn.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ func NewCommand() *cobra.Command {
Long: "A series of subcommands that automates NCN administrative tasks.",
DisableAutoGenTag: true,
}
c.PersistentFlags().StringVar(
c.PersistentFlags().StringVarP(
&kubeconfig,
"kubeconfig",
"k",
"",
"Absolute path to the kubeconfig file",
)
Expand Down

0 comments on commit 0dd06db

Please sign in to comment.