1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-12-17 06:35:42 +07:00

[skip travis] minor fixes

This commit is contained in:
Unknown
2020-09-02 23:48:21 +02:00
parent 3ca3f77f9c
commit e367127957
3 changed files with 11 additions and 16 deletions

View File

@@ -14,7 +14,7 @@
oldreadme = f.read()
header = oldreadme[:oldreadme.index('# OPTIONS')]
footer = oldreadme[oldreadme.index('# CONFIGURATION'):]
#footer = oldreadme[oldreadme.index('# CONFIGURATION'):]
options = helptext[helptext.index(' General Options:') + 19:]
options = re.sub(r'(?m)^ (\w.+)$', r'## \1', options)
@@ -23,4 +23,4 @@
with io.open(README_FILE, 'w', encoding='utf-8') as f:
f.write(header)
f.write(options)
f.write(footer)
#f.write(footer)