[issue5374] optparse special usage tokens conflict with formatting characters

Tim Gordon report at bugs.python.org
Thu Feb 26 15:15:00 CET 2009


Tim Gordon <tim.py at aleph17.co.uk> added the comment:

Try escaping the '%prog' in your usage string (i.e. use '%%prog' 
instead) so you don't get the error when you substitute values in.

----------
nosy: +QuantumTim

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5374>
_______________________________________


More information about the Python-bugs-list mailing list