aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/options.py
diff options
context:
space:
mode:
authorbashonly <88596187+bashonly@users.noreply.github.com>2024-04-03 17:51:41 -0500
committerGitHub <noreply@github.com>2024-04-03 22:51:41 +0000
commit16be117729150b2784f3b17755c886cb0cf73374 (patch)
treed82db84a19933c960094cb592299ae032bc726de /yt_dlp/options.py
parentb49d5ffc53a72d8245ba319ff07bdc5b8c6a4f0c (diff)
Add option `--no-break-on-existing` (#9610)
Authored by: bashonly
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 dac56dc1f..43d71ef07 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -692,6 +692,10 @@ def create_parser():
action='store_true', dest='break_on_existing', default=False,
help='Stop the download process when encountering a file that is in the archive')
selection.add_option(
+ '--no-break-on-existing',
+ action='store_false', dest='break_on_existing',
+ help='Do not stop the download process when encountering a file that is in the archive (default)')
+ selection.add_option(
'--break-on-reject',
action='store_true', dest='break_on_reject', default=False,
help=optparse.SUPPRESS_HELP)