[docs:options] add --update arguments

pull/5712/head
Mike Fährmann 4 months ago
parent 035d882c6f
commit cbaf041cea
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -6,6 +6,9 @@
## General Options: ## General Options:
-h, --help Print this help message and exit -h, --help Print this help message and exit
--version Print program version 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 -f, --filename FORMAT Filename format string for downloaded files
('/O' for "original" filenames) ('/O' for "original" filenames)
-d, --destination PATH Target location for file downloads -d, --destination PATH Target location for file downloads

@ -14,7 +14,10 @@ import re
import sys import sys
import util 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 TEMPLATE = """# Command-Line Options

Loading…
Cancel
Save