aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-10-20 11:45:20 -0500
committerJesús <heckyel@hyperbola.info>2021-10-20 11:45:20 -0500
commitc7afb25e19a91493db6069d1db9f7d1bc8491dc1 (patch)
treed4f4d0a125e191585af49dcfb189d2f1ba9acf17 /yt_dlp/options.py
parent000d2844fd93d8c35fc74d22588291e7c7d742fa (diff)
parentd3c93ec2b7f5bcb872b0afb169efaa2f1abdf6e2 (diff)
downloadhypervideo-pre-c7afb25e19a91493db6069d1db9f7d1bc8491dc1.tar.lz
hypervideo-pre-c7afb25e19a91493db6069d1db9f7d1bc8491dc1.tar.xz
hypervideo-pre-c7afb25e19a91493db6069d1db9f7d1bc8491dc1.zip
updated from upstream | 20/10/2021 at 11:45
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r--yt_dlp/options.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py
index f45332ee1..b45b79bc9 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -968,6 +968,10 @@ def parseOpts(overrideArguments=None):
help="File containing URLs to download ('-' for stdin), one URL per line. "
"Lines starting with '#', ';' or ']' are considered as comments and ignored")
filesystem.add_option(
+ '--no-batch-file',
+ dest='batchfile', action='store_const', const=None,
+ help='Do not read URLs from batch file (default)')
+ filesystem.add_option(
'-P', '--paths',
metavar='[TYPES:]PATH', dest='paths', default={}, type='str',
action='callback', callback=_dict_from_options_callback,