From 70b37ccbd9d1448f9a8311f2ead5eff35d919b07 Mon Sep 17 00:00:00 2001 From: sewardj Date: Thu, 9 Aug 2001 10:55:53 +0000 Subject: [PATCH] [project @ 2001-08-09 10:55:53 by sewardj] Change "dunno, mate" into something a bit more helpful. --- ghc/compiler/ghci/InteractiveUI.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/compiler/ghci/InteractiveUI.hs b/ghc/compiler/ghci/InteractiveUI.hs index cf749d2..e5a950a 100644 --- a/ghc/compiler/ghci/InteractiveUI.hs +++ b/ghc/compiler/ghci/InteractiveUI.hs @@ -1,5 +1,5 @@ ----------------------------------------------------------------------------- --- $Id: InteractiveUI.hs,v 1.83 2001/07/24 04:41:40 ken Exp $ +-- $Id: InteractiveUI.hs,v 1.84 2001/08/09 10:55:53 sewardj Exp $ -- -- GHC Interactive User Interface -- @@ -369,7 +369,7 @@ help :: String -> GHCi () help _ = io (putStr helpText) info :: String -> GHCi () -info "" = do io (putStr "dunno, mate") +info "" = throwDyn (CmdLineError "syntax: `:i '") info s = do let names = words s st <- getGHCiState -- 1.7.10.4