Commit bad73fe5 authored by simonmar's avatar simonmar
Browse files

[project @ 2000-10-31 11:16:30 by simonmar]

display unknown flags with a leading dash.
parent 671e6004
{-# OPTIONS -W -fno-warn-incomplete-patterns #-} {-# 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 -- GHC Driver program
-- --
...@@ -201,7 +201,7 @@ main = ...@@ -201,7 +201,7 @@ main =
writeIORef v_InitDynFlags init_dyn_flags writeIORef v_InitDynFlags init_dyn_flags
-- complain about any unknown flags -- complain about any unknown flags
mapM unknownFlagErr [ f | ('-':f) <- srcs ] mapM unknownFlagErr [ f | f@('-':_) <- srcs ]
-- get the -v flag -- get the -v flag
verb <- readIORef v_Verbose verb <- readIORef v_Verbose
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment