From df4bd0d53ff4baff6ce25ad04a1e87f37777c3ff Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Tue, 24 Feb 2015 17:25:02 +0100 Subject: [PATCH] [options] Add --yes-playlist as inverse of --no-playlist (Fixes #5051) --- youtube_dl/options.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/youtube_dl/options.py b/youtube_dl/options.py index 5c2d153b1..886ce9613 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -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,