summaryrefslogtreecommitdiff
path: root/ghc/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/Main.hs')
-rw-r--r--ghc/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/Main.hs b/ghc/Main.hs
index d30a50b7cd..da95ebfe28 100644
--- a/ghc/Main.hs
+++ b/ghc/Main.hs
@@ -315,7 +315,7 @@ checkOptions mode dflags srcs objs = do
when ((filter (not . wayRTSOnly) (ways dflags) /= interpWays)
&& isInterpretiveMode mode) $
do throwGhcException (UsageError
- "--interactive can't be used with -prof or -unreg.")
+ "--interactive can't be used with -prof.")
-- -ohi sanity check
if (isJust (outputHi dflags) &&
(isCompManagerMode mode || srcs `lengthExceeds` 1))