How to modify the "-h" output.when using optparse.optionParser()
Is the开发者_如何学编程re a neat way to modify the "-h" output when usion optparse? Basically there's a load of additional text I want to add in addition to the "freebie" usage instructions that are ouput.
Or is this completely the wrong approach to doing this?
optparse.OptionParser - see description for parameters usage
, prog
and epilog
.
精彩评论