Skip to content

Commit

Permalink
Fix failed test
Browse files Browse the repository at this point in the history
  • Loading branch information
dearchap committed Oct 5, 2022
1 parent fe6f62b commit 2da0324
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions parse.go
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 2da0324

Please sign in to comment.