mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-10-01 22:08:36 +09:00
[core] Support explicit --no-list-formats
option
This commit is contained in:
@@ -404,6 +404,10 @@ def parseOpts(overrideArguments=None):
|
|||||||
'-F', '--list-formats',
|
'-F', '--list-formats',
|
||||||
action='store_true', dest='listformats',
|
action='store_true', dest='listformats',
|
||||||
help='List all available formats of requested videos')
|
help='List all available formats of requested videos')
|
||||||
|
video_format.add_option(
|
||||||
|
'--no-list-formats',
|
||||||
|
action='store_false', dest='listformats',
|
||||||
|
help='Do not list available formats of requested videos (default)')
|
||||||
video_format.add_option(
|
video_format.add_option(
|
||||||
'--youtube-include-dash-manifest',
|
'--youtube-include-dash-manifest',
|
||||||
action='store_true', dest='youtube_include_dash_manifest', default=True,
|
action='store_true', dest='youtube_include_dash_manifest', default=True,
|
||||||
|
Reference in New Issue
Block a user