diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-02-24 17:25:02 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-02-24 17:25:02 +0100 |
commit | df4bd0d53ff4baff6ce25ad04a1e87f37777c3ff (patch) | |
tree | b5bd1bb68aef59dd788f6c3bcc36e39518a2870f /youtube_dl | |
parent | 4f3b21e1c738a7dacd514eb59242da43e81b5ae1 (diff) |
[options] Add --yes-playlist as inverse of --no-playlist (Fixes #5051)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/options.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ -273,6 +273,10 @@ def parseOpts(overrideArguments=None): 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, help='download only videos suitable for the given age') |