summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-01-16 22:07:12 +0700
committerSergey M․ <dstftw@gmail.com>2017-01-16 22:07:12 +0700
commit0ce8c66fb05fefbe51ac1eca8d3ddbd561b38a54 (patch)
treec06e50457f495b3aa35ff8fd184502700a333ffd
parent906420cae37ee3c2f48d23c3a4fa0543a66947d5 (diff)
downloadyoutube-dl-0ce8c66fb05fefbe51ac1eca8d3ddbd561b38a54.tar.gz
youtube-dl-0ce8c66fb05fefbe51ac1eca8d3ddbd561b38a54.tar.xz
youtube-dl-0ce8c66fb05fefbe51ac1eca8d3ddbd561b38a54.zip
[options] Include custom conf in final argv (closes #11741)
-rw-r--r--youtube_dl/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index 0eb4924b6..0b8c1671d 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -867,7 +867,7 @@ def parseOpts(overrideArguments=None):
             if '--ignore-config' not in system_conf:
                 user_conf = _readUserConf()
 
-        argv = system_conf + user_conf + command_line_conf
+        argv = system_conf + user_conf + custom_conf + command_line_conf
         opts, args = parser.parse_args(argv)
         if opts.verbose:
             for conf_label, conf in (