#1348: inconsistent 'ghc --help" message
-------------------------+--------------------------------------------------
Reporter: guest | Owner: igloo
Type: bug | Status: new
Priority: high | Milestone: 6.8
Component: Compiler | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Windows | Testcase:
Architecture: x86 |
-------------------------+--------------------------------------------------
Comment (by igloo):
The logic for printing the ghc and ghci usage messages was inverted; I've
fixed that.
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.
We should overhaul the option handling, probably using the standard
library, so that the same code handles static and dynamic options, and
also generates the documentation; the above issue should be fixed at the
same time.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1348>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs