mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:35:12 +00:00 
			
		
		
		
	[skip travis] minor fixes
This commit is contained in:
		@@ -14,7 +14,7 @@ with io.open(README_FILE, encoding='utf-8') as f:
 | 
			
		||||
    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 @@ options = '# OPTIONS\n' + options + '\n'
 | 
			
		||||
with io.open(README_FILE, 'w', encoding='utf-8') as f:
 | 
			
		||||
    f.write(header)
 | 
			
		||||
    f.write(options)
 | 
			
		||||
    f.write(footer)
 | 
			
		||||
    #f.write(footer)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user