aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/options.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan@gmail.com>2021-01-13 06:31:01 +0530
committerpukkandan <pukkandan@gmail.com>2021-01-13 06:44:35 +0530
commit8b0d7497d536b93610d469b6e3fd2935fb3cb8a0 (patch)
tree5131c3dd3a1c717e276d4fdd14e61233ea0deaea /youtube_dlc/options.py
parent90505ff15334af71800c7a9075ae979aa4167a97 (diff)
downloadhypervideo-pre-8b0d7497d536b93610d469b6e3fd2935fb3cb8a0.tar.lz
hypervideo-pre-8b0d7497d536b93610d469b6e3fd2935fb3cb8a0.tar.xz
hypervideo-pre-8b0d7497d536b93610d469b6e3fd2935fb3cb8a0.zip
Added option `--break-on-reject`
and modified `--break-on-existing`
Diffstat (limited to 'youtube_dlc/options.py')
-rw-r--r--youtube_dlc/options.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dlc/options.py b/youtube_dlc/options.py
index 174290507..c94e3abb4 100644
--- a/youtube_dlc/options.py
+++ b/youtube_dlc/options.py
@@ -367,7 +367,11 @@ def parseOpts(overrideArguments=None):
selection.add_option(
'--break-on-existing',
action='store_true', dest='break_on_existing', default=False,
- help="Stop the download process after attempting to download a file that's in the archive.")
+ help="Stop the download process when encountering a file that's in the archive.")
+ selection.add_option(
+ '--break-on-reject',
+ 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(
'--no-download-archive',
dest='download_archive', action="store_const", const=None,