From: Ian Lynagh Date: Sat, 14 Jun 2008 17:48:50 +0000 (+0000) Subject: Tweak the deprecated flags warning X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=b065ad6504883d2c9f9713e5c33efa537021d4c0;hp=5b87f4c4cdfb303d3d4c408ca94a9e94b644da5b;p=ghc-hetmet.git Tweak the deprecated flags warning --- diff --git a/compiler/main/CmdLineParser.hs b/compiler/main/CmdLineParser.hs index 4ff78f6..8112dbb 100644 --- a/compiler/main/CmdLineParser.hs +++ b/compiler/main/CmdLineParser.hs @@ -60,7 +60,7 @@ processArgs spec args = process spec args [] [] [] Just (rest, action, deprecated) -> let warns' = case deprecated of Deprecated warning -> - (dash_arg ++ " is deprecated: " ++ warning) : warns + ("Warning: " ++ dash_arg ++ " is deprecated: " ++ warning) : warns Supported -> warns in case processOneArg action rest arg args of Left err -> process spec args spare (err:errs) warns'