Merge branch 'master' into opts-in-lib

This commit is contained in:
Alan Zimmerman
2016-02-09 21:22:15 +02:00
6 changed files with 20 additions and 9 deletions

View File

@@ -175,6 +175,11 @@ globalArgSpec = Options
<=> metavar "OPT"
<=> help "Option to be passed to GHC"
<*> many fileMappingSpec
<*> strOption
$$ long "encoding"
<=> value "UTF-8"
<=> showDefault
<=> help "I/O encoding"
where
fileMappingSpec =
getFileMapping . splitOn '=' <$> strOption