From b065ad6504883d2c9f9713e5c33efa537021d4c0 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 14 Jun 2008 17:48:50 +0000 Subject: [PATCH 1/1] Tweak the deprecated flags warning --- compiler/main/CmdLineParser.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- 1.7.10.4