Print the right usage message
authorIan Lynagh <igloo@earth.li>
Mon, 2 Jul 2007 10:26:51 +0000 (10:26 +0000)
committerIan Lynagh <igloo@earth.li>
Mon, 2 Jul 2007 10:26:51 +0000 (10:26 +0000)
commit1ae32688ab2ead820a20662cf05128b21944e144
tree205a200337457d7d06799532b7d7bb259877389e
parent59fbf57f6b4b200c676c2ba3298e1ca2170f2266
Print the right usage message
The logic for printing the ghc and ghci usage messages was inverted.
However, the ghci case will never actually happen with the current code,
as we print a usage message when cli_mode == ShowUsage and choose the
ghci usage message if cli_mode == DoInteractive. This should be fixed
as part of a larger options handling overhaul.
compiler/main/Main.hs