diff options
author | David Waern <david.waern@gmail.com> | 2008-04-11 17:24:00 +0000 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2008-04-11 17:24:00 +0000 |
commit | a75db99a9c2fb5b22a65c0a5b030c855dd1d8cba (patch) | |
tree | 22c06bb487be0a601b0e374d424890e34b0be8f9 /src/Haddock/Options.hs | |
parent | 9a21555c26c61cf3bb9b5353a838bf147816dad9 (diff) |
Add a flag for turning off all warnings
Diffstat (limited to 'src/Haddock/Options.hs')
-rw-r--r-- | src/Haddock/Options.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Haddock/Options.hs b/src/Haddock/Options.hs index 31976ae0..6e5514cf 100644 --- a/src/Haddock/Options.hs +++ b/src/Haddock/Options.hs @@ -83,6 +83,7 @@ data Flag | Flag_OptGhc String | Flag_GhcLibDir String | Flag_GhcVersion + | Flag_NoWarnings deriving (Eq) @@ -149,5 +150,6 @@ options backwardsCompat = Option [] ["optghc"] (ReqArg Flag_OptGhc "OPTION") "Forward option to GHC", Option [] ["ghc-version"] (NoArg Flag_GhcVersion) - "output GHC version in numeric format" + "output GHC version in numeric format", + Option ['w'] ["no-warnings"] (NoArg Flag_NoWarnings) "turn off all warnings" ] |