• bjorn@bringert.net's avatar
    Removed one level of indirection in the command-line options parsing. · f7b4206d
    bjorn@bringert.net authored
    Before, getOpt would return a list of Flag, which had a one-to-one correspondence with functions TempFlags -> TempFlags. This made it uneccessarily difficult and error-prone to add new flags. I removed the Flag type and replaced the values with TempFlags -> TempFlags functions. This should have the side effect of making the tar path flag work, since it was not interpreted before.
Setup.hs 8.42 KB