Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
3db62c3a
Commit
3db62c3a
authored
Jan 24, 2006
by
Simon Marlow
Browse files
send usage info to stdout, not stderr
parent
89408a89
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/main/Main.hs
View file @
3db62c3a
...
...
@@ -427,8 +427,8 @@ showGhcUsage cli_mode = do
exitWith
ExitSuccess
where
dump
""
=
return
()
dump
(
'$'
:
'$'
:
s
)
=
hP
utStr
stderr
progName
>>
dump
s
dump
(
c
:
s
)
=
hP
utChar
stderr
c
>>
dump
s
dump
(
'$'
:
'$'
:
s
)
=
p
utStr
progName
>>
dump
s
dump
(
c
:
s
)
=
p
utChar
c
>>
dump
s
-- -----------------------------------------------------------------------------
-- Util
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment