Prechádzať zdrojové kódy

Add tag filter argument to remove command

JDC 5 rokov pred
rodič
commit
d54c3eec9d
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      archivebox/cli/archivebox_remove.py

+ 1 - 1
archivebox/cli/archivebox_remove.py

@@ -50,7 +50,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','tag'),
         default='exact',
         help='Type of pattern matching to use when filtering URLs',
     )