Commit 3db62c3a authored by Simon Marlow's avatar Simon Marlow

send usage info to stdout, not stderr

parent 89408a89
......@@ -427,8 +427,8 @@ showGhcUsage cli_mode = do
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment