1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-27 08:14:38 +02:00

Fix add search filter to update

This commit is contained in:
JDC
2020-11-21 13:06:51 -05:00
committed by Nick Sweeting
parent c5b1b91708
commit 8484bdb973

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',
) )