mirror of https://github.com/python/cpython.git
#8158: add missing 'description' description to optparse docstring.
This commit is contained in:
parent
28a8e96378
commit
a436e713b6
|
@ -1131,6 +1131,11 @@ class OptionParser (OptionContainer):
|
||||||
prog : string
|
prog : string
|
||||||
the name of the current program (to override
|
the name of the current program (to override
|
||||||
os.path.basename(sys.argv[0])).
|
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
|
epilog : string
|
||||||
paragraph of help text to print after option help
|
paragraph of help text to print after option help
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue