mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 01:48:40 +00:00
[UI] Indent subsequent lines in argparse help
This commit is contained in:
parent
a49b459a59
commit
1afea60c6f
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ class DelugeTextHelpFormatter(argparse.RawDescriptionHelpFormatter):
|
||||||
"""
|
"""
|
||||||
wrapped_lines = []
|
wrapped_lines = []
|
||||||
for l in text.splitlines():
|
for l in text.splitlines():
|
||||||
wrapped_lines.extend(textwrap.wrap(l, width))
|
wrapped_lines.extend(textwrap.wrap(l, width, subsequent_indent=" "))
|
||||||
return wrapped_lines
|
return wrapped_lines
|
||||||
|
|
||||||
def _format_action_invocation(self, action):
|
def _format_action_invocation(self, action):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue