aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-08-15 13:42:23 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-08-17 04:29:56 +0530
commit8f18aca8717bb0dd49054555af8d386e5eda3a88 (patch)
treed152c00de20766b03d001f60d4bffc45a3e5ea16 /yt_dlp/options.py
parent3ad56b42360bd73c1c9c68dbd1d65d1ca492d676 (diff)
downloadhypervideo-pre-8f18aca8717bb0dd49054555af8d386e5eda3a88.tar.lz
hypervideo-pre-8f18aca8717bb0dd49054555af8d386e5eda3a88.tar.xz
hypervideo-pre-8f18aca8717bb0dd49054555af8d386e5eda3a88.zip
Let `--match-filter` reject entries early
Makes redundant: `--match-title`, `--reject-title`, `--min-views`, `--max-views`
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r--yt_dlp/options.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py
index 1499991a1..ef821eb11 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -356,11 +356,11 @@ def parseOpts(overrideArguments=None):
selection.add_option(
'--match-title',
dest='matchtitle', metavar='REGEX',
- help='Download only matching titles (regex or caseless sub-string)')
+ help=optparse.SUPPRESS_HELP)
selection.add_option(
'--reject-title',
dest='rejecttitle', metavar='REGEX',
- help='Skip download for matching titles (regex or caseless sub-string)')
+ help=optparse.SUPPRESS_HELP)
selection.add_option(
'--max-downloads',
dest='max_downloads', metavar='NUMBER', type=int, default=None,
@@ -395,11 +395,11 @@ def parseOpts(overrideArguments=None):
selection.add_option(
'--min-views',
metavar='COUNT', dest='min_views', default=None, type=int,
- help='Do not download any videos with less than COUNT views')
+ help=optparse.SUPPRESS_HELP)
selection.add_option(
'--max-views',
metavar='COUNT', dest='max_views', default=None, type=int,
- help='Do not download any videos with more than COUNT views')
+ help=optparse.SUPPRESS_HELP)
selection.add_option(
'--match-filter',
metavar='FILTER', dest='match_filter', default=None,