> > - Add a help formatter which uses capitalized headers. > > Sure, looks simple enough. Great! Thanks! > How is that different from the existing 'description' that David > Goodger added for Optik 1.4? Here is real example. I have the following help text: HELP = """\ Usage: repsys COMMAND [COMMAND ARGUMENTS] Useful commands: co submit create getspec getsrpm changed authoremail Run "repsys COMMAND --help" for more information. """ Using OptionParser(description=HELP) and "repsys --help", I get: """ Usage: repsys [options] Usage: repsys COMMAND [COMMAND ARGUMENTS] Useful commands: co submit create getspec getsrpm changed authoremail Run "repsys COMMAND --help" for more information. Options: --version show program's version number and exit -h, --help show this help message and exit --debug """ While using OptionParser(help=HELP) and "repsys --help", I get: """ Usage: repsys COMMAND [COMMAND ARGUMENTS] Useful commands: co submit create getspec getsrpm changed authoremail Run "repsys COMMAND --help" for more information. """ [...] > So either post your patches to optik-users at lists.sourceforge.net, or > file 'em on the Optik tracker at SF. Nothing wrong with cc'ing > python-dev at the same time, though. Will do that. Thanks! -- Gustavo Niemeyer http://niemeyer.net
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4