From: simonmar Date: Tue, 31 Oct 2000 11:16:30 +0000 (+0000) Subject: [project @ 2000-10-31 11:16:30 by simonmar] X-Git-Tag: Approximately_9120_patches~3455 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=bad73fe51fe3ab3bb3e2472a5f44ce2afcf216f8;p=ghc-hetmet.git [project @ 2000-10-31 11:16:30 by simonmar] display unknown flags with a leading dash. --- diff --git a/ghc/compiler/main/Main.hs b/ghc/compiler/main/Main.hs index 3fdb0fb..7300be0 100644 --- a/ghc/compiler/main/Main.hs +++ b/ghc/compiler/main/Main.hs @@ -1,6 +1,6 @@ {-# OPTIONS -W -fno-warn-incomplete-patterns #-} ----------------------------------------------------------------------------- --- $Id: Main.hs,v 1.15 2000/10/31 11:13:29 simonmar Exp $ +-- $Id: Main.hs,v 1.16 2000/10/31 11:16:30 simonmar Exp $ -- -- GHC Driver program -- @@ -201,7 +201,7 @@ main = writeIORef v_InitDynFlags init_dyn_flags -- complain about any unknown flags - mapM unknownFlagErr [ f | ('-':f) <- srcs ] + mapM unknownFlagErr [ f | f@('-':_) <- srcs ] -- get the -v flag verb <- readIORef v_Verbose