projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b87f4c
)
Tweak the deprecated flags warning
author
Ian Lynagh
<igloo@earth.li>
Sat, 14 Jun 2008 17:48:50 +0000
(17:48 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 14 Jun 2008 17:48:50 +0000
(17:48 +0000)
compiler/main/CmdLineParser.hs
patch
|
blob
|
history
diff --git
a/compiler/main/CmdLineParser.hs
b/compiler/main/CmdLineParser.hs
index
4ff78f6
..
8112dbb
100644
(file)
--- 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'