#1880: Unify flag descriptions to generate both docs and code
----------------------+-----------------------------------------------------
 Reporter:  simonmar  |          Owner:             
     Type:  task      |         Status:  new        
 Priority:  normal    |      Milestone:  6.10 branch
Component:  Compiler  |        Version:  6.8.1      
 Severity:  normal    |     Resolution:             
 Keywords:            |     Difficulty:  Unknown    
 Testcase:            |   Architecture:  Unknown    
       Os:  Unknown   |  
----------------------+-----------------------------------------------------
Comment (by claus):

 something has gone wrong here, with all the ticket splitting and closing.
 it seems that recent ghcs support neither `--print-docdir` nor anything
 resembling `--full-flag-help`.

 since i tend to work with multiple self-compiled ghcs more than with
 installer versions, i'm still looking mainly for something commandline
 based, exactly what the original #1226 tried to address.

 at this stage, since my patch for #1226 was rejected, i'd be happy with a
 minimal solution, with `ghc --full-flag-help`

 - calling `man <path-to-version-specific-ghc.1>` where available
 (including cygwin)

 - do its own man-to-text conversion where `man` is not available; or reply
 with the path to the version-specific flag reference html page (then i
 could write a wrapper to start a browser with this)

 (commandline output preferred, of course..)

 btw, what happened to `--print-docdir`?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1880#comment:4>
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

Reply via email to