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:
89408a8
)
send usage info to stdout, not stderr
author
Simon Marlow
<simonmar@microsoft.com>
Tue, 24 Jan 2006 14:55:51 +0000
(14:55 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Tue, 24 Jan 2006 14:55:51 +0000
(14:55 +0000)
ghc/compiler/main/Main.hs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/Main.hs
b/ghc/compiler/main/Main.hs
index
37ce970
..
17eb526
100644
(file)
--- a/
ghc/compiler/main/Main.hs
+++ b/
ghc/compiler/main/Main.hs
@@
-427,8
+427,8
@@
showGhcUsage cli_mode = do
exitWith ExitSuccess
where
dump "" = return ()
exitWith ExitSuccess
where
dump "" = return ()
- dump ('$':'$':s) = hPutStr stderr progName >> dump s
- dump (c:s) = hPutChar stderr c >> dump s
+ dump ('$':'$':s) = putStr progName >> dump s
+ dump (c:s) = putChar c >> dump s
-- -----------------------------------------------------------------------------
-- Util
-- -----------------------------------------------------------------------------
-- Util