[cleanup] Misc (#5044)

Authored by: gamer191, pukkandan
This commit is contained in:
gamer191
2022-10-04 15:23:11 +11:00
committed by GitHub
parent 878eac3e2e
commit 304ad45a9b
20 changed files with 50 additions and 53 deletions

View File

@@ -1417,7 +1417,9 @@ def create_parser():
help='Do not load cookies from browser (default)')
filesystem.add_option(
'--cache-dir', dest='cachedir', default=None, metavar='DIR',
help='Location in the filesystem where yt-dlp can store some downloaded information (such as client ids and signatures) permanently. By default $XDG_CACHE_HOME/yt-dlp or ~/.cache/yt-dlp')
help=(
'Location in the filesystem where yt-dlp can store some downloaded information '
'(such as client ids and signatures) permanently. By default ${XDG_CACHE_HOME}/yt-dlp'))
filesystem.add_option(
'--no-cache-dir', action='store_false', dest='cachedir',
help='Disable filesystem caching')