mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 10:31:29 +00:00
parent
176f1866cb
commit
1e520b5535
|
@ -465,6 +465,7 @@ ## Filesystem Options:
|
||||||
stdin), one URL per line. Lines starting
|
stdin), one URL per line. Lines starting
|
||||||
with '#', ';' or ']' are considered as
|
with '#', ';' or ']' are considered as
|
||||||
comments and ignored
|
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
|
-P, --paths [TYPES:]PATH The paths where the files should be
|
||||||
downloaded. Specify the type of file and
|
downloaded. Specify the type of file and
|
||||||
the path separated by a colon ":". All the
|
the path separated by a colon ":". All the
|
||||||
|
|
|
@ -971,6 +971,10 @@ def _dict_from_options_callback(
|
||||||
dest='batchfile', metavar='FILE',
|
dest='batchfile', metavar='FILE',
|
||||||
help="File containing URLs to download ('-' for stdin), one URL per line. "
|
help="File containing URLs to download ('-' for stdin), one URL per line. "
|
||||||
"Lines starting with '#', ';' or ']' are considered as comments and ignored")
|
"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(
|
filesystem.add_option(
|
||||||
'-P', '--paths',
|
'-P', '--paths',
|
||||||
metavar='[TYPES:]PATH', dest='paths', default={}, type='str',
|
metavar='[TYPES:]PATH', dest='paths', default={}, type='str',
|
||||||
|
|
Loading…
Reference in a new issue