Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
fc5ed800
Commit
fc5ed800
authored
May 04, 2011
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#8158: add missing 'description' description to optparse docstring.
parent
f16898bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Lib/optparse.py
Lib/optparse.py
+5
-0
No files found.
Lib/optparse.py
View file @
fc5ed800
...
@@ -1120,6 +1120,11 @@ class OptionParser (OptionContainer):
...
@@ -1120,6 +1120,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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment