mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Track extra arg to option_table to all uses of it
This commit is contained in:
parent
6b3996b2b9
commit
40ebbeff23
1 changed files with 2 additions and 2 deletions
|
@ -358,8 +358,8 @@ class FancyGetopt:
|
|||
else:
|
||||
lines = ['Option summary:']
|
||||
|
||||
for (long,short,help) in self.option_table:
|
||||
|
||||
for option in self.option_table:
|
||||
long, short, help = option_table[:3]
|
||||
text = wrap_text(help, text_width)
|
||||
if long[-1] == '=':
|
||||
long = long[0:-1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue