diff options
author | Sergey Vinokurov <serg.foo@gmail.com> | 2016-10-30 17:39:50 +0200 |
---|---|---|
committer | Alex Biehl <alexbiehl@gmail.com> | 2017-04-29 22:42:36 +0200 |
commit | 393920f125d1870c4fec5a09a5ac2dddc8da746b (patch) | |
tree | 0f7a93f94fb917b89dc75962860c164453594108 /haddock-api/src | |
parent | 799a41fffde7ec6e1c2097b895925a4adac5419f (diff) |
Improve error message
Diffstat (limited to 'haddock-api/src')
-rw-r--r-- | haddock-api/src/Haddock.hs | 2 |
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) $ |