Skip to content

Commit

Permalink
set DisableFlagParsing to true for NewKubectlWrapperCmd
Browse files Browse the repository at this point in the history
  • Loading branch information
gzm55 committed Mar 20, 2024
1 parent 34f4249 commit 8a804bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kuberlr/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func NewKubectlWrapperCmd() *cobra.Command {
return &cobra.Command{
Use: "kubectl",
Short: "Wrap and exec a suitable version kubectl command",
DisableFlagParsing: false,
DisableFlagParsing: true,
Run: func(cmd *cobra.Command, args []string) {
kubectlWrapperMode(args)
},
Expand Down

0 comments on commit 8a804bd

Please sign in to comment.