4 Oct
2010
4 Oct
'10
11:19 p.m.
Arie Peterson wrote:
On Sun, 03 Oct 2010 19:18:08 +0200, Ben Franksen <ben.franksen@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