On 2008-09-18, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Thu, 18 Sep 2008 11:07:45 -0500, Grant Edwards wrote: > >> While we're making suggestions, I've always wished that the --help >> output displayed the default values for options in addition to the help >> text specified by the user. I end up having to enter the default values >> twice -- once as a keyword argument and again in the help text. > > '%default' in the help text will be replaced by the default value. See > the last option in the first example here: > > http://docs.python.org/lib/optparse-generating-help.html
Great! I guess I should scan the doc pages for changes more often. -- Grant Edwards grante Yow! The Korean War must at have been fun. visi.com -- http://mail.python.org/mailman/listinfo/python-list