aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src
diff options
context:
space:
mode:
authorSergey Vinokurov <serg.foo@gmail.com>2016-10-30 17:39:50 +0200
committerAlex Biehl <alexbiehl@gmail.com>2017-04-29 22:42:36 +0200
commit393920f125d1870c4fec5a09a5ac2dddc8da746b (patch)
tree0f7a93f94fb917b89dc75962860c164453594108 /haddock-api/src
parent799a41fffde7ec6e1c2097b895925a4adac5419f (diff)
Improve error message
Diffstat (limited to 'haddock-api/src')
-rw-r--r--haddock-api/src/Haddock.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock.hs b/haddock-api/src/Haddock.hs
index dec85b79..3971a5b7 100644
--- a/haddock-api/src/Haddock.hs
+++ b/haddock-api/src/Haddock.hs
@@ -489,7 +489,7 @@ shortcutFlags flags = do
when ((Flag_GenIndex `elem` flags || Flag_GenContents `elem` flags)
&& Flag_Html `elem` flags) $
- throwE "-h cannot be used with --gen-index or --gen-contents"
+ throwE "-h/--html cannot be used with --gen-index or --gen-contents"
when ((Flag_GenIndex `elem` flags || Flag_GenContents `elem` flags)
&& Flag_Hoogle `elem` flags) $