]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/options.py
Add option `--no-break-on-existing` (#9610)
[yt-dlp.git] / yt_dlp / options.py
index dac56dc1f0fa10fffb0003dd34120b3579608817..43d71ef070beca74739b0cbb7de061e04df3d814 100644 (file)
@@ -691,6 +691,10 @@ def _alias_callback(option, opt_str, value, parser, opts, nargs):
         '--break-on-existing',
         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,