[Haskell-cafe] Re: Re: A question regarding cmdargs package

Henning Thielemann schlepptop at henning-thielemann.de
Wed Oct 13 06:07:25 EDT 2010


Ben Franksen schrieb:
> Neil Mitchell wrote:
>>>> This makes me curious.  What's the use case where you want to allow the
>>>> user to pass arguments on the command line, but you don't want that user
>>>> to be able
>>>> to use '--help' to find out what arguments may be passed?
> 
> I wanted to create a clone of an existing program that had no help option
> and instead gave the help output if it saw an invalid option.

I find it very annoying if a program floods my terminal with a help
page, when I just misspelled something. A short descriptive message that
points to the mistake would be of more help for me.


More information about the Haskell-Cafe mailing list