• pcapriotti's avatar
    Fix ambiguous flag resolution (#7138) · f78b31a3
    pcapriotti authored
    Pick longest flag when more than one matches in findArg.
    
    This fixes an issue where -ignore-dot-ghci wasn't honored, because the
    flag was parsed as "-i gnore-dot-ghci".
    f78b31a3
CmdLineParser.hs 8.77 KB