Commit 2514f52f authored by Georg Brandl's avatar Georg Brandl

Closes #22675: fix typo.

parent f23530f5
...@@ -490,7 +490,7 @@ class HelpFormatter(object): ...@@ -490,7 +490,7 @@ class HelpFormatter(object):
action_width = help_position - self._current_indent - 2 action_width = help_position - self._current_indent - 2
action_header = self._format_action_invocation(action) action_header = self._format_action_invocation(action)
# ho nelp; start on same line and add a final newline # no help; start on same line and add a final newline
if not action.help: if not action.help:
tup = self._current_indent, '', action_header tup = self._current_indent, '', action_header
action_header = '%*s%s\n' % tup action_header = '%*s%s\n' % tup
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment