On 11/10/10 22:04, Neil Mitchell wrote: > Hi Ben, > >>>> How can I disable the standard arguments 'help' and 'version'? > > In general I suggest you email the author of the cmdargs package > directly, as well as cc'ing the mailing list (otherwise the author > might miss this message, as I did!) > > In CmdArgs there is currently no way to suppress either --help or > --version, but I am currently reviewing a patch (from you!) and expect > that the next version will have both these features. The hard part is > making sure the defaults match what people expect and that the options > to modify the behaviour are discoverable and natural, but I'm sure > I'll find something.
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? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe