summaryrefslogtreecommitdiffstats
path: root/data/completion/_gallery-dl
diff options
context:
space:
mode:
Diffstat (limited to 'data/completion/_gallery-dl')
-rw-r--r--data/completion/_gallery-dl11
1 files changed, 8 insertions, 3 deletions
diff --git a/data/completion/_gallery-dl b/data/completion/_gallery-dl
index 22a5f25..2ac93f7 100644
--- a/data/completion/_gallery-dl
+++ b/data/completion/_gallery-dl
@@ -7,8 +7,10 @@ local rc=1
_arguments -C -S \
{-h,--help}'[Print this help message and exit]' \
--version'[Print program version and exit]' \
-{-d,--dest}'[Destination directory]':'<dest>':_files \
+--dest'[==SUPPRESS==]':'<dest>':_files \
{-i,--input-file}'[Download URLs found in FILE ("-" for stdin). More than one --input-file can be specified]':'<file>':_files \
+{-f,--filename}'[Filename format string for downloaded files ("/O" for "original" filenames)]':'<format>' \
+{-d,--directory}'[Target location for file downloads]':'<path>' \
--cookies'[File to load additional cookies from]':'<file>':_files \
--proxy'[Use the specified proxy]':'<url>' \
--clear-cache'[Delete cached login sessions, cookies, etc. for MODULE (ALL to delete everything)]':'<module>' \
@@ -28,7 +30,9 @@ _arguments -C -S \
{-r,--limit-rate}'[Maximum download rate (e.g. 500k or 2.5M)]':'<rate>' \
{-R,--retries}'[Maximum number of retries for failed HTTP requests or -1 for infinite retries (default: 4)]':'<n>' \
--http-timeout'[Timeout for HTTP connections (default: 30.0)]':'<seconds>' \
---sleep'[Number of seconds to sleep before each download]':'<seconds>' \
+--sleep'[Number of seconds to wait before each download. This can be either a constant value or a range (e.g. 2.7 or 2.0-3.5)]':'<seconds>' \
+--sleep-request'[Number of seconds to wait between HTTP requests during data extraction]':'<seconds>' \
+--sleep-extractor'[Number of seconds to wait before starting data extraction for an input URL]':'<seconds>' \
--filesize-min'[Do not download files smaller than SIZE (e.g. 500k or 2.5M)]':'<size>' \
--filesize-max'[Do not download files larger than SIZE (e.g. 500k or 2.5M)]':'<size>' \
--no-part'[Do not use .part files]' \
@@ -54,7 +58,8 @@ _arguments -C -S \
--ugoira-conv'[Convert Pixiv Ugoira to WebM (requires FFmpeg)]' \
--ugoira-conv-lossless'[Convert Pixiv Ugoira to WebM in VP9 lossless mode]' \
--write-metadata'[Write metadata to separate JSON files]' \
---write-infojson'[Write gallery metadata to a info.json file]' \
+--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]' \
--exec'[Execute CMD for each downloaded file. Example: --exec "convert {} {}.png && rm {}"]':'<cmd>' \