aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--yt_dlp/options.py4
2 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index ce76474a2..d410d04d1 100644
--- a/README.md
+++ b/README.md
@@ -465,6 +465,7 @@ Then simply run `make`. You can also run `make yt-dlp` instead to compile only t
stdin), one URL per line. Lines starting
with '#', ';' or ']' are considered as
comments and ignored
+ --no-batch-file Do not read URLs from batch file (default)
-P, --paths [TYPES:]PATH The paths where the files should be
downloaded. Specify the type of file and
the path separated by a colon ":". All the
diff --git a/yt_dlp/options.py b/yt_dlp/options.py
index 1c99e7e7c..0638e8642 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -972,6 +972,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,