[GHC] #2620: `ghci --help` gives unhelpful error message

GHC trac at galois.com
Mon Sep 22 12:42:48 EDT 2008


#2620: `ghci --help` gives unhelpful error message
-------------------------+--------------------------------------------------
    Reporter:  Deewiant  |       Owner:         
        Type:  bug       |      Status:  new    
    Priority:  normal    |   Component:  GHCi   
     Version:  6.8.3     |    Severity:  minor  
    Keywords:            |    Testcase:         
Architecture:  x86       |          Os:  Windows
-------------------------+--------------------------------------------------
 Running `ghci --help` gives the following humorous output:
 {{{
 : cannot use `--interactive' with `--help'
 Usage: For basic information, try the `--help' option.
 }}}

 This works with GHC 6.8.2 on Linux (x86) but evidently not with GHC 6.8.3
 on Windows.

 Although the error message, in this case, could be improved, it would be
 better if `--help` (and `--version`, maybe others) worked the same way as
 with `ghc`, for both `ghci` and `ghc --interactive`.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2620>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list