summaryrefslogtreecommitdiff
path: root/ghc/Main.hs
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-03-18 10:21:18 +0100
committerThomas Miedema <thomasmiedema@gmail.com>2015-03-18 10:29:14 +0100
commit3508b68f1a1e9a7ba4cdea5bac4e557739349da1 (patch)
treeb28d9ade1f91be413e1fae2643d26368eb2e990e /ghc/Main.hs
parentfad7bb0bfdb4bf2d323f8833e29ce42d6c807ee0 (diff)
downloadhaskell-3508b68f1a1e9a7ba4cdea5bac4e557739349da1.tar.gz
Remove mention of `-unreg` in error message
The `-unreg` flag was removed in commit dade8ab (2007), see #1008. [skip-ci]
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))