mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-03 02:03:23 +01:00
[options] Add --yes-playlist as inverse of --no-playlist (Fixes #5051)
This commit is contained in:
parent
4f3b21e1c7
commit
df4bd0d53f
@ -272,6 +272,10 @@ def _hide_login_info(opts):
|
||||
'--no-playlist',
|
||||
action='store_true', dest='noplaylist', default=False,
|
||||
help='If the URL refers to a video and a playlist, download only the video.')
|
||||
selection.add_option(
|
||||
'--yes-playlist',
|
||||
action='store_false', dest='noplaylist', default=False,
|
||||
help='If the URL refers to a video and a playlist, download the playlist.')
|
||||
selection.add_option(
|
||||
'--age-limit',
|
||||
metavar='YEARS', dest='age_limit', default=None, type=int,
|
||||
|
Loading…
Reference in New Issue
Block a user