Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
cc06f983
Commit
cc06f983
authored
Apr 23, 2000
by
Greg Ward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch from Harry Henry Gebel: fix two stupid bugs in help-printing stuff.
parent
32155114
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fancy_getopt.py
fancy_getopt.py
+2
-2
No files found.
fancy_getopt.py
View file @
cc06f983
...
@@ -304,7 +304,7 @@ class FancyGetopt:
...
@@ -304,7 +304,7 @@ class FancyGetopt:
return
self
.
option_order
return
self
.
option_order
def
generate_help
(
header
=
None
):
def
generate_help
(
self
,
header
=
None
):
"""Generate help text (a list of strings, one per suggested line of
"""Generate help text (a list of strings, one per suggested line of
output) from the option table for this FancyGetopt object."""
output) from the option table for this FancyGetopt object."""
...
@@ -388,7 +388,7 @@ class FancyGetopt:
...
@@ -388,7 +388,7 @@ class FancyGetopt:
# generate_help ()
# generate_help ()
def
print_help
(
self
,
file
=
None
,
header
=
None
):
def
print_help
(
self
,
header
=
None
,
file
=
None
):
if
file
is
None
:
if
file
is
None
:
file
=
sys
.
stdout
file
=
sys
.
stdout
for
line
in
self
.
generate_help
(
header
):
for
line
in
self
.
generate_help
(
header
):
...
...
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