From 5409b86adf666973c7a82537b3145d1c1ef9a003 Mon Sep 17 00:00:00 2001 From: Lennart Spitzner Date: Mon, 8 Aug 2016 21:18:06 +0200 Subject: [PATCH] Add help to --ghc-options commandline flag --- src/Language/Haskell/Brittany/Config.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Language/Haskell/Brittany/Config.hs b/src/Language/Haskell/Brittany/Config.hs index 055a815..d929e5e 100644 --- a/src/Language/Haskell/Brittany/Config.hs +++ b/src/Language/Haskell/Brittany/Config.hs @@ -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