aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Main.hs b/src/Main.hs
index e12d5e04..e1f276cf 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -176,7 +176,8 @@ main = handleTopExceptions $ do
-- create the interfaces -- this is the core part of Haddock
- (interfaces, homeLinks) <- createInterfaces fileArgs extLinks flags
+ (interfaces, homeLinks) <- createInterfaces verbosity fileArgs flags
+ (map fst packages)
liftIO $ do
-- render the interfaces
@@ -192,7 +193,8 @@ main = handleTopExceptions $ do
packages <- readInterfaceFiles (nameCacheFromGhc session) (ifacePairs flags)
-- create the interfaces -- this is the core part of Haddock
- (interfaces, homeLinks) <- createInterfaces session fileArgs extLinks flags
+ (interfaces, homeLinks) <- createInterfaces verbosity session fileArgs flags
+ (map fst packages)
-- render the interfaces
renderStep packages interfaces