Ticket #1880 (new task)
Unify flag descriptions to generate both docs and code
| Reported by: | simonmar | Owned by: | |
|---|---|---|---|
| Priority: | lowest | Milestone: | 7.6.2 |
| Component: | Compiler | Version: | 6.8.1 |
| Keywords: | Cc: | claus | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description (last modified by simonmar) (diff)
We want to specify all of GHC's flags in one place, and from there
- Generate the flag reference section of the documentation
- Generate the code to parse the command-line
- Allow flags to be deprecated, generating a warning
- Have an option to list all the flags that GHC supports (see #1226) for use in command-line completion
- Generate the man page
- Completion in GHCi
This ticket replaces part of #1226.
Change History
Note: See
TracTickets for help on using
tickets.
