Add option --break-match-filters

* Deprecates `--break-on-reject`

Closes #5962
This commit is contained in:
pukkandan
2023-03-04 01:13:05 +05:30
parent d21056f4cf
commit fe2ce85aff
5 changed files with 62 additions and 31 deletions

View File

@@ -403,7 +403,7 @@ def validate_options(opts):
except Exception:
raise ValueError('unsupported geo-bypass country or ip-block')
opts.match_filter = match_filter_func(opts.match_filter)
opts.match_filter = match_filter_func(opts.match_filter, opts.breaking_match_filter)
if opts.download_archive is not None:
opts.download_archive = expand_path(opts.download_archive)