aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r--yt_dlp/options.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py
index a16604b73..c21c453ed 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -396,6 +396,10 @@ def parseOpts(overrideArguments=None):
action='store_true', dest='break_on_reject', default=False,
help='Stop the download process when encountering a file that has been filtered out')
selection.add_option(
+ '--skip-playlist-after-errors', metavar='N',
+ dest='skip_playlist_after_errors', default=None, type=int,
+ help='Number of allowed failures until the rest of the playlist is skipped')
+ selection.add_option(
'--no-download-archive',
dest='download_archive', action="store_const", const=None,
help='Do not use archive file (default)')