implement -e/--error-file as a logging handler

similar to --write-unsupported
This commit is contained in:
Mike Fährmann
2023-12-10 00:00:57 +01:00
parent ac22bbe80c
commit 75697dfb26
4 changed files with 26 additions and 33 deletions

View File

@@ -288,7 +288,7 @@ def build_parser():
)
output.add_argument(
"-e", "--error-file",
dest="error_file", metavar="FILE",
dest="errorfile", metavar="FILE", action=ConfigAction,
help="Add input URLs which returned an error to FILE",
)
output.add_argument(