Add help to --ghc-options commandline flag

pull/3/head
Lennart Spitzner 2016-08-08 21:18:06 +02:00
parent cfb02fc755
commit 5409b86adf
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ configParser = do
outputOnErrors <- addSimpleBoolFlag "" ["output-on-errors"] (flagHelp $ parDoc "even when there are errors, produce output (or try to to the degree possible")
wError <- addSimpleBoolFlag "" ["werror"] (flagHelp $ parDoc "treat warnings as errors")
optionsGhc <- addFlagStringParam "" ["ghc-options"] "STRING" mempty
optionsGhc <- addFlagStringParam "" ["ghc-options"] "STRING" (flagHelp $ parDoc "allows to define default language extensions. The parameter is forwarded to ghc. Note that currently these options are applied _after_ the pragmas read in from the input.")
return $ Config
{ _conf_debug = DebugConfig