#1226: Add flags --full-flag-help and --print-docdir
-----------------------------+----------------------------------------------
Reporter: igloo | Owner: igloo
Type: feature request | Status: new
Priority: normal | Milestone: 6.8 branch
Component: Driver | Version: 6.6
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
-----------------------------+----------------------------------------------
Comment (by guest):
Replying to [comment:5 guest]:
> just so that this doesn't get lost: there's a simple xslt file to
extract text for a --full-flag-help option here
>
> http://www.haskell.org/pipermail/cvs-ghc/2007-September/038560.html
a patch implementing flag reference command line help with simple search,
close to what was suggested in comment:5, was sent to cvs-ghc:
http://www.haskell.org/pipermail/cvs-ghc/2007-October/039184.html
here is the patch description:
{{{
add flag --flags (FIX #1226)
Ticket #1226 calls for a '--full-flag-help' flag, presenting the
users guide's flag reference or man page in text format. Since a
man page isn't much good on windows, and a full listing of flags
isn't all that helpful, either, i've implemented a slight refinement
of these suggestions:
ghc --flags [<section>:]<flag>
lists flags containing substring <flag> in
sections containing substring <section>
examples:
ghc --flags :
lists the full flag reference
ghc --flags @
lists section headers only (because @ doesn't occur in flags)
ghc --flags Prof:
lists flags in the 'Profiling options' section
ghc --flags ghci
lists flags mentioning ghci in all sections
}}}
claus
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1226#comment:6>
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