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. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe