Track extra arg to option_table to all uses of it
This commit is contained in:
parent
6b3996b2b9
commit
40ebbeff23
|
@ -358,8 +358,8 @@ class FancyGetopt:
|
||||||
else:
|
else:
|
||||||
lines = ['Option summary:']
|
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)
|
text = wrap_text(help, text_width)
|
||||||
if long[-1] == '=':
|
if long[-1] == '=':
|
||||||
long = long[0:-1]
|
long = long[0:-1]
|
||||||
|
|
Loading…
Reference in New Issue