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

Ben Franksen ben.franksen at online.de
Mon Oct 4 19:19:30 EDT 2010


Arie Peterson wrote:
> On Sun, 03 Oct 2010 19:18:08 +0200, Ben Franksen
> <ben.franksen at online.de> wrote:
>> How can I disable the standard arguments 'help' and 'version'?
> 
> If you're not fully committed to the cmdargs package, you might try my
> package 'console-program' instead
> <http://hackage.haskell.org/package/console-program>. It does not have
> built-in "--help" or "--version" functionality. (There is a function
> 'showUsage' that takes the description of the command/option structure
> of your program, and prints "--help" style usage information, but you
> use this at your own discretion.)

Thanks, looks good. I will certainly try it out.

Cheers
Ben



More information about the Haskell-Cafe mailing list