Add search filter type for update

This commit is contained in:
JDC 2020-11-21 08:22:18 -05:00 committed by Nick Sweeting
parent 9bd40ed7f6
commit 0ed53cc117

View file

@ -91,7 +91,7 @@ def main(args: Optional[List[str]]=None, stdin: Optional[IO]=None, pwd: Optional
parser.add_argument( parser.add_argument(
'--filter-type', '--filter-type',
type=str, type=str,
choices=('exact', 'substring', 'domain', 'regex'), choices=('exact', 'substring', 'domain', 'regex', 'search'),
default='exact', default='exact',
help='Type of pattern matching to use when filtering URLs', help='Type of pattern matching to use when filtering URLs',
) )