#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 ajd):
Has anyone considered using System.Console.GetOpt for this? From my
understanding, it would allow automatic generation of a --help message for
the options. I think [http://www.gnu.org/software/help2man/ help2man]
could generate the man page from that as well.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1880#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs