aboutsummaryrefslogtreecommitdiff
path: root/driver/Main.hs
diff options
context:
space:
mode:
authorChaitanya Koparkar <ckoparkar@gmail.com>2018-05-10 11:44:58 -0400
committerRyan Scott <ryan.gl.scott@gmail.com>2018-05-10 11:44:58 -0400
commit4b025fdbaf89f95f3899b54f09f07842420a16d9 (patch)
treef1f33fb275d2b891807756ea4f8a0cf7f8146d5d /driver/Main.hs
parent271a9cb0c7a070deef8df2d4fb54ebe47a0bf560 (diff)
Use the response file utilities defined in `base` (#821)
Summary: The response file related modules were recently copied from `haddock` into `base`. This patch removes them from `haddock`. GHC Trac Issues: #13896
Diffstat (limited to 'driver/Main.hs')
-rw-r--r--driver/Main.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/driver/Main.hs b/driver/Main.hs
index 852f44c7..44df4692 100644
--- a/driver/Main.hs
+++ b/driver/Main.hs
@@ -1,8 +1,7 @@
module Main where
import Documentation.Haddock (haddock)
-import ResponseFile (expandResponse)
-import System.Environment (getArgs)
+import GHC.ResponseFile (getArgsWithResponseFiles)
main :: IO ()
-main = getArgs >>= expandResponse >>= haddock
+main = getArgsWithResponseFiles >>= haddock