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

Ciao,
        Marc 'BlackJack' Rintsch
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to