[Haskell-cafe] A question regarding cmdargs package

Arie Peterson ariep at xs4all.nl
Mon Oct 4 07:05:14 EDT 2010


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.)


Regards,

Arie



More information about the Haskell-Cafe mailing list