A feature-rich command-line audio/video downloader
[options] Accept quoted string across multiple lines (#9940)
Jaime Marquínez Ferrándiz9e29ef13a378
diff --git a/youtube_dl/options.py b/youtube_dl/options.pyindex 99ce4131fd..c9033e3cb2 100644--- a/youtube_dl/options.py+++ b/youtube_dl/options.py@@ -26,9 +26,7 @@ def parseOpts(overrideArguments=None):except IOError:return default # silently skip if file is not presenttry:- res = []- for l in optionf:- res += compat_shlex_split(l, comments=True)+ res = compat_shlex_split(optionf.read(), comments=True)finally:optionf.close()return res