Feature proposal: ghc --full-flag-help ?
Pepe Iborra
mnislaih at gmail.com
Tue Mar 13 15:45:52 EDT 2007
A full listing of the available flags would be useful too for a
hypothetic bash complete mode. I think that's how the bash completion
package for darcs does it.
And you know, with those three or four words compound flags, with
their number rising to .. nearly a hundred?, this would be a very
desirable thing to have, much more so than the darcs one.
On the other hand, both --full-flag-help and the bash completion
package mode seem like a very trivial hacking task. Any GHC hackers
around?
/me hides under a pile of work and other diversions
Cheers
pepe
On 13/03/2007, at 20:33, Lennart Augustsson wrote:
> Sorry, but I'm not always connected to the Internet. I'd like to
> be able to get flag help easily anyway.
>
> -- Lennart
>
> On Mar 13, 2007, at 14:28 , Simon Peyton-Jones wrote:
>
>> Suppose ghc --full-flag-help simply printed the URL
>> http://www.haskell.org/ghc/docs/latest/html/users_guide/
>> flag-reference.html
>> Now you can see it in your web browser by clicking on it.
>>
>> Simon
>>
>> | -----Original Message-----
>> | From: glasgow-haskell-users-bounces at haskell.org [mailto:glasgow-
>> haskell-users-bounces at haskell.org] On
>> | Behalf Of Neil Mitchell
>> | Sent: 13 March 2007 13:08
>> | To: Sittampalam, Ganesh
>> | Cc: glasgow-haskell-users at haskell.org
>> | Subject: Re: Feature proposal: ghc --full-flag-help ?
>> |
>> | Hi
>> |
>> | > > What about integrating a complete list into ghc which can
>> accessed by
>> | > > ghc --full-flag-help | less ?
>> | >
>> | > > Sure I can fake it and get that list out of the html
>> documentation. I
>> | > > just want to know if someone else would like this flag, too
>> | >
>> | > I would find it very useful too.
>> |
>> | Me too. At the same time --help should probably direct the user
>> at the
>> | section of the manual which deals with flags, as well as the
>> | documentation overview. I always find myself searching for the
>> flags
>> | reference
>> |
>> | Thanks
>> |
>> | Neil
>> | _______________________________________________
>> | Glasgow-haskell-users mailing list
>> | Glasgow-haskell-users at haskell.org
>> | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>> _______________________________________________
>> Glasgow-haskell-users mailing list
>> Glasgow-haskell-users at haskell.org
>> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
More information about the Glasgow-haskell-users
mailing list