aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock.hs')
-rw-r--r--src/Haddock.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Haddock.hs b/src/Haddock.hs
index 3b31c756..5f5b1156 100644
--- a/src/Haddock.hs
+++ b/src/Haddock.hs
@@ -367,6 +367,8 @@ shortcutFlags flags = do
when (Flag_Help `elem` flags) (bye usage)
when (Flag_Version `elem` flags) byeVersion
when (Flag_InterfaceVersion `elem` flags) (bye (show binaryInterfaceVersion ++ "\n"))
+ when (Flag_CompatibleInterfaceVersions `elem` flags)
+ (bye (unwords (map show binaryInterfaceVersionCompatibility) ++ "\n"))
when (Flag_GhcVersion `elem` flags) (bye (cProjectVersion ++ "\n"))
when (Flag_PrintGhcPath `elem` flags) $ do
@@ -448,4 +450,3 @@ getExecDir = return Nothing
#endif
#endif
-