From cbaf041ceaaef92a111e526e7d543fdb5917104f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sun, 2 Jun 2024 02:30:39 +0200 Subject: [PATCH] [docs:options] add --update arguments --- docs/options.md | 3 +++ scripts/options.py | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/options.md b/docs/options.md index 5b2de40b..d1c8f81e 100644 --- a/docs/options.md +++ b/docs/options.md @@ -6,6 +6,9 @@ ## General Options: -h, --help Print this help message and exit --version Print program version and exit + -U, --update Update to the latest version + --update-to [CHANNEL@]TAG Upgrade/downgrade to a specific version + --update-check Check if a newer version is available -f, --filename FORMAT Filename format string for downloaded files ('/O' for "original" filenames) -d, --destination PATH Target location for file downloads diff --git a/scripts/options.py b/scripts/options.py index 11f7f302..65d22a02 100755 --- a/scripts/options.py +++ b/scripts/options.py @@ -14,7 +14,10 @@ import re import sys import util -from gallery_dl import option + +import gallery_dl.util +gallery_dl.util.EXECUTABLE = True +from gallery_dl import option # noqa E402 TEMPLATE = """# Command-Line Options