From 7f4130af50264254efa0b6c22be83b078b63d798 Mon Sep 17 00:00:00 2001 From: David Waern Date: Sat, 15 Aug 2009 23:52:03 +0000 Subject: Add --print-ghc-libdir --- src/Haddock/Options.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Haddock/Options.hs') diff --git a/src/Haddock/Options.hs b/src/Haddock/Options.hs index 3f1b29b8..9699e6ee 100644 --- a/src/Haddock/Options.hs +++ b/src/Haddock/Options.hs @@ -91,6 +91,7 @@ data Flag | Flag_OptGhc String | Flag_GhcLibDir String | Flag_GhcVersion + | Flag_PrintGhcLibDir | Flag_NoWarnings | Flag_UseUnicode deriving (Eq) @@ -161,5 +162,7 @@ options backwardsCompat = "option to be forwarded to GHC", Option [] ["ghc-version"] (NoArg Flag_GhcVersion) "output GHC version in numeric format", + Option [] ["print-ghc-libdir"] (NoArg Flag_PrintGhcLibDir) + "output GHC lib dir", Option ['w'] ["no-warnings"] (NoArg Flag_NoWarnings) "turn off all warnings" ] -- cgit v1.2.3