mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
[options] Improve be35e53
(--match-/reject-title parameter value)
Resolves #31064.
This commit is contained in:
parent
a03b9775d5
commit
090acd58c1
|
@ -270,11 +270,11 @@ def parseOpts(overrideArguments=None):
|
||||||
selection.add_option(
|
selection.add_option(
|
||||||
'--match-title',
|
'--match-title',
|
||||||
dest='matchtitle', metavar='REGEX',
|
dest='matchtitle', metavar='REGEX',
|
||||||
help='Download only matching titles (case-insensitive regex or sub-string)')
|
help='Download only matching titles (case-insensitive regex or alphanumeric sub-string)')
|
||||||
selection.add_option(
|
selection.add_option(
|
||||||
'--reject-title',
|
'--reject-title',
|
||||||
dest='rejecttitle', metavar='REGEX',
|
dest='rejecttitle', metavar='REGEX',
|
||||||
help='Skip download for matching titles (case-insensitive regex or sub-string)')
|
help='Skip download for matching titles (case-insensitive regex or alphanumeric sub-string)')
|
||||||
selection.add_option(
|
selection.add_option(
|
||||||
'--max-downloads',
|
'--max-downloads',
|
||||||
dest='max_downloads', metavar='NUMBER', type=int, default=None,
|
dest='max_downloads', metavar='NUMBER', type=int, default=None,
|
||||||
|
|
Loading…
Reference in a new issue