Tweak the deprecated flags warning
[ghc-hetmet.git] / compiler / main / CmdLineParser.hs
index 4ff78f6..8112dbb 100644 (file)
@@ -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'