aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2007-11-09 02:40:16 +0000
committerDavid Waern <david.waern@gmail.com>2007-11-09 02:40:16 +0000
commit125025c7461d54be6ec55aaf6237fcf6fbd7f03e (patch)
tree088313dfbf0d48491a2826de0c7a358548c48a4f
parentc797f395fa31616b69f1f562b02c881c30c165a7 (diff)
Don't exit when there are no file arguments
-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"