summaryrefslogtreecommitdiffstats
path: root/gallery_dl/option.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/option.py')
-rw-r--r--gallery_dl/option.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gallery_dl/option.py b/gallery_dl/option.py
index 2a48c87..01537d6 100644
--- a/gallery_dl/option.py
+++ b/gallery_dl/option.py
@@ -376,7 +376,8 @@ def build_parser():
postprocessor.add_argument(
"--exec-after",
dest="postprocessors", metavar="CMD",
- action=AppendCommandAction, const={"name": "exec", "final": True},
+ action=AppendCommandAction, const={
+ "name": "exec", "event": "finalize"},
help=("Execute CMD after all files were downloaded successfully. "
"Example: --exec-after 'cd {} && convert * ../doc.pdf'"),
)