aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Interface.hs
diff options
context:
space:
mode:
authorMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-12-18 07:14:23 +0000
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-12-18 07:14:23 +0000
commitd5090d5e9921a61d0a15a95b088210d51f825033 (patch)
tree2b00817d2c8dc6b27e322a78f57ce6445a9feb96 /haddock-api/src/Haddock/Interface.hs
parentbbe19d79f427b784f6423e72fb77fed9c81832b2 (diff)
Print missing docs by default
Adds --no-print-missing-docs
Diffstat (limited to 'haddock-api/src/Haddock/Interface.hs')
-rw-r--r--haddock-api/src/Haddock/Interface.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Interface.hs b/haddock-api/src/Haddock/Interface.hs
index 60a20fe5..1bb04ed3 100644
--- a/haddock-api/src/Haddock/Interface.hs
+++ b/haddock-api/src/Haddock/Interface.hs
@@ -195,7 +195,7 @@ processModule verbosity modsum flags modMap instIfaceMap = do
else n
out verbosity normal coverageMsg
- when (Flag_PrintMissingDocs `elem` flags
+ when (Flag_NoPrintMissingDocs `notElem` flags
&& not (null undocumentedExports && header)) $ do
out verbosity normal " Missing documentation for:"
unless header $ out verbosity normal " Module header"