Browse Source

Closes #22675: fix typo.

pull/9921/head
Georg Brandl 12 years ago
parent
commit
2514f52f4f
  1. 2
      Lib/argparse.py

2
Lib/argparse.py

@ -490,7 +490,7 @@ class HelpFormatter(object):
action_width = help_position - self._current_indent - 2
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:
tup = self._current_indent, '', action_header
action_header = '%*s%s\n' % tup

Loading…
Cancel
Save