From 2a817af4fe41289fa705bdc5ee61372333f43996 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Mon, 27 Nov 2023 17:57:01 -0500 Subject: New upstream version 1.26.3. --- data/completion/_gallery-dl | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'data/completion/_gallery-dl') diff --git a/data/completion/_gallery-dl b/data/completion/_gallery-dl index c1425bb..f3b17a2 100644 --- a/data/completion/_gallery-dl +++ b/data/completion/_gallery-dl @@ -7,7 +7,6 @@ local rc=1 _arguments -C -S \ {-h,--help}'[Print this help message and exit]' \ --version'[Print program version and exit]' \ -{-i,--input-file}'[Download URLs found in FILE ("-" for stdin). More than one --input-file can be specified]':'':_files \ {-f,--filename}'[Filename format string for downloaded files ("/O" for "original" filenames)]':'' \ {-d,--destination}'[Target location for file downloads]':'' \ {-D,--directory}'[Exact location for file downloads]':'' \ @@ -16,6 +15,9 @@ _arguments -C -S \ --source-address'[Client-side IP address to bind to]':'' \ --user-agent'[User-Agent request header]':'' \ --clear-cache'[Delete cached login sessions, cookies, etc. for MODULE (ALL to delete everything)]':'' \ +{-i,--input-file}'[Download URLs found in FILE ("-" for stdin). More than one --input-file can be specified]':'':_files \ +{-I,--input-file-comment}'[Download URLs found in FILE. Comment them out after they were downloaded successfully.]':'':_files \ +{-x,--input-file-delete}'[Download URLs found in FILE. Delete them after they were downloaded successfully.]':'':_files \ {-q,--quiet}'[Activate quiet mode]' \ {-v,--verbose}'[Print various debugging information]' \ {-g,--get-urls}'[Print URLs instead of downloading]' \ @@ -64,18 +66,21 @@ _arguments -C -S \ --chapter-range'[Like "--range", but applies to manga chapters and other delegated URLs]':'' \ --filter'[Python expression controlling which files to download. Files for which the expression evaluates to False are ignored. Available keys are the filename-specific ones listed by "-K". Example: --filter "image_width >= 1000 and rating in ("s", "q")"]':'' \ --chapter-filter'[Like "--filter", but applies to manga chapters and other delegated URLs]':'' \ ---zip'[Store downloaded files in a ZIP archive]' \ ---ugoira-conv'[Convert Pixiv Ugoira to WebM (requires FFmpeg)]' \ ---ugoira-conv-lossless'[Convert Pixiv Ugoira to WebM in VP9 lossless mode]' \ ---ugoira-conv-copy'[Convert Pixiv Ugoira to MKV without re-encoding any frames]' \ +{-P,--postprocessor}'[Activate the specified post processor]':'' \ +{-O,--postprocessor-option}'[Additional post processor options]':'' \ --write-metadata'[Write metadata to separate JSON files]' \ --write-info-json'[Write gallery metadata to a info.json file]' \ --write-infojson'[==SUPPRESS==]' \ --write-tags'[Write image tags to separate text files]' \ ---mtime-from-date'[Set file modification times according to "date" metadata]' \ +--zip'[Store downloaded files in a ZIP archive]' \ +--cbz'[Store downloaded files in a CBZ archive]' \ +--mtime'[Set file modification times according to metadata selected by NAME. Examples: "date" or "status[date]"]':'' \ +--mtime-from-date'[==SUPPRESS==]' \ +--ugoira'[Convert Pixiv Ugoira to FORMAT using FFmpeg. Supported formats are "webm", "mp4", "gif", "vp8", "vp9", "vp9-lossless", "copy".]':'' \ +--ugoira-conv'[==SUPPRESS==]' \ +--ugoira-conv-lossless'[==SUPPRESS==]' \ +--ugoira-conv-copy'[==SUPPRESS==]' \ --exec'[Execute CMD for each downloaded file. Supported replacement fields are {} or {_path}, {_directory}, {_filename}. Example: --exec "convert {} {}.png && rm {}"]':'' \ ---exec-after'[Execute CMD after all files were downloaded successfully. Example: --exec-after "cd {_directory} && convert * ../doc.pdf"]':'' \ -{-P,--postprocessor}'[Activate the specified post processor]':'' \ -{-O,--postprocessor-option}'[Additional "=" post processor options]':'' && rc=0 +--exec-after'[Execute CMD after all files were downloaded. Example: --exec-after "cd {_directory} && convert * ../doc.pdf"]':'' && rc=0 return rc -- cgit v1.2.3