aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Options.hs
diff options
context:
space:
mode:
authorMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2013-09-07 05:21:03 +0100
committerSimon Hengel <sol@typeful.net>2013-09-18 22:43:35 +0200
commit9db420f74a0fd4d1abc0d8cee91b2e7877e5a2e7 (patch)
treee270d30a20a8b9130e9289119de669472fa113b1 /src/Haddock/Options.hs
parent183cad171113faf7d44a25116de6586cd4f07578 (diff)
Print missing documentation. Fixes #258.
Diffstat (limited to 'src/Haddock/Options.hs')
-rw-r--r--src/Haddock/Options.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Haddock/Options.hs b/src/Haddock/Options.hs
index a362fd05..751812d4 100644
--- a/src/Haddock/Options.hs
+++ b/src/Haddock/Options.hs
@@ -80,6 +80,7 @@ data Flag
| Flag_NoTmpCompDir
| Flag_Qualification String
| Flag_PrettyHtml
+ | Flag_PrintMissingDocs
deriving (Eq)
@@ -162,7 +163,9 @@ options backwardsCompat =
Option [] ["no-tmp-comp-dir"] (NoArg Flag_NoTmpCompDir)
"do not re-direct compilation output to a temporary directory",
Option [] ["pretty-html"] (NoArg Flag_PrettyHtml)
- "generate html with newlines and indenting (for use with --html)"
+ "generate html with newlines and indenting (for use with --html)",
+ Option [] ["print-missing-docs"] (NoArg Flag_PrintMissingDocs)
+ "print information about any undocumented entities"
]