#8158: add missing 'description' description to optparse docstring.

This commit is contained in:
R David Murray 2011-05-04 21:06:57 -04:00
parent f16898bc80
commit fc5ed800d8
1 changed files with 5 additions and 0 deletions

View File

@ -1120,6 +1120,11 @@ class OptionParser (OptionContainer):
prog : string
the name of the current program (to override
os.path.basename(sys.argv[0])).
description : string
A paragraph of text giving a brief overview of your program.
optparse reformats this paragraph to fit the current terminal
width and prints it when the user requests help (after usage,
but before the list of options).
epilog : string
paragraph of help text to print after option help