We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93bf47f commit cc6c374Copy full SHA for cc6c374
cmd/minikube/main.go
@@ -192,7 +192,7 @@ func logFileName(dir string, logIdx int64) string {
192
func setFlags(parse bool) {
193
// parse flags beyond subcommand - get around go flag 'limitations':
194
// "Flag parsing stops just before the first non-flag argument" (ref: https://pkg.go.dev/flag#hdr-Command_line_flag_syntax)
195
- pflag.CommandLine.ParseErrorsWhitelist.UnknownFlags = true
+ pflag.CommandLine.ParseErrorsAllowlist.UnknownFlags = true
196
pflag.CommandLine.AddGoFlagSet(flag.CommandLine)
197
// avoid 'pflag: help requested' error, as help will be defined later by cobra cmd.Execute()
198
pflag.BoolP("help", "h", false, "")
0 commit comments