aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorNeil Mitchell <unknown>2008-06-07 20:45:10 +0000
committerNeil Mitchell <unknown>2008-06-07 20:45:10 +0000
commit8564df0f351648eb94f1ed616ba65d4900dd8c57 (patch)
tree503486441c8ed843e0531e9316cd82d3eec0e370 /src/Main.hs
parentf944180988db86d5b1d78e4607f27f40b4e2e5e6 (diff)
Rewrite the --hoogle flag support
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Main.hs b/src/Main.hs
index e8f14654..a5381aff 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -227,6 +227,8 @@ render flags interfaces installedIfaces = do
maybe_contents_url maybe_index_url
copyHtmlBits odir libdir css_file
+ when (Flag_Hoogle `elem` flags) $ do
+ ppHoogle packageName visibleIfaces odir
-------------------------------------------------------------------------------
-- Reading and dumping interface files