瀏覽代碼

Fix add search filter to update

JDC 5 年之前
父節點
當前提交
8484bdb973
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      archivebox/cli/archivebox_update.py

+ 1 - 1
archivebox/cli/archivebox_update.py

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