Fix failed test

This commit is contained in:
Naveen Gogineni 2022-10-05 09:33:41 -04:00 committed by Dan Buch
parent 924ebdaab2
commit fcb0bce797
Signed by: meatballhat
GPG Key ID: A12F782281063434

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
}
}