1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

improve lists in man pages

This commit is contained in:
Mike Fährmann 2020-03-14 01:08:31 +01:00
parent d3482ace7f
commit 1b3ba86110
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -266,7 +266,7 @@ def parse_docs_configuration():
opt_desc[name] = ""
line = line.strip()
if line.startswith(("* ", "- ")):
line = "\n" + line
line = ".br\n" + line
elif line.startswith("| "):
line = line[2:] + "\n.br"
opt_desc[name] += line + "\n"