add '-P/--postprocessor' command-line option

This commit is contained in:
Mike Fährmann
2021-06-05 03:14:34 +02:00
parent 83fc4c1098
commit 6ecb710a7f

View File

@@ -392,6 +392,11 @@ def build_parser():
help=("Execute CMD after all files were downloaded successfully. "
"Example: --exec-after 'cd {} && convert * ../doc.pdf'"),
)
postprocessor.add_argument(
"-P", "--postprocessor",
dest="postprocessors", metavar="NAME", action="append",
help="Activate the specified post processor",
)
parser.add_argument(
"urls",