aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index e89f41ed..2f0c72ca 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -252,7 +252,6 @@ handleEasyFlags flags fileArgs = do
when (Flag_Help `elem` flags) (bye usage)
when (Flag_Version `elem` flags) byeVersion
when (Flag_GhcVersion `elem` flags) byeGhcVersion
- when (null fileArgs) (bye usage)
let ghcLibDir = case [ dir | Flag_GhcLibDir dir <- flags ] of
[] -> throwE "no GHC lib dir specified"