diff options
Diffstat (limited to 'gallery_dl/option.py')
| -rw-r--r-- | gallery_dl/option.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gallery_dl/option.py b/gallery_dl/option.py index a046a27..5f7b281 100644 --- a/gallery_dl/option.py +++ b/gallery_dl/option.py @@ -372,6 +372,16 @@ def build_parser(): help="Write metadata to separate JSON files", ) postprocessor.add_argument( + "--write-infojson", + dest="postprocessors", + action="append_const", const={ + "name" : "metadata", + "event" : "init", + "filename": "info.json", + }, + help="Write gallery metadata to a info.json file", + ) + postprocessor.add_argument( "--write-tags", dest="postprocessors", action="append_const", const={"name": "metadata", "mode": "tags"}, |
