[options] Improve be35e53 (--match-/reject-title parameter value)

Resolves #31064.
pull/29325/head^2
dirkf 2022-07-03 20:05:21 +01:00 committed by GitHub
parent a03b9775d5
commit 090acd58c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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,