Fix failed test

This commit is contained in:
Naveen Gogineni 2022-10-05 09:33:41 -04:00
parent fe6f62b9b2
commit 2da03245be

View File

@ -59,13 +59,6 @@ func parseIter(set *flag.FlagSet, ip iterativeParser, args []string, shellComple
if !argsWereSplit {
return err
}
// Since custom parsing failed, replace the flag set before retrying
newSet, err := ip.newFlagSet()
if err != nil {
return err
}
*set = *newSet
}
}