mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-26 23:12:58 +01:00
Fix help of --cachedir
This commit is contained in:
parent
c38b1e776d
commit
be8fe32c92
@ -169,7 +169,7 @@ def parseOpts(overrideArguments=None):
|
|||||||
general.add_option('--no-check-certificate', action='store_true', dest='no_check_certificate', default=False, help='Suppress HTTPS certificate validation.')
|
general.add_option('--no-check-certificate', action='store_true', dest='no_check_certificate', default=False, help='Suppress HTTPS certificate validation.')
|
||||||
general.add_option(
|
general.add_option(
|
||||||
'--cache-dir', dest='cachedir', default=get_cachedir(),
|
'--cache-dir', dest='cachedir', default=get_cachedir(),
|
||||||
help='Location in the filesystem where youtube-dl can store downloaded information permanently. %default by default')
|
help='Location in the filesystem where youtube-dl can store downloaded information permanently. By default $XDG_CACHE_HOME/youtube-dl or ~/.cache/youtube-dl .')
|
||||||
general.add_option(
|
general.add_option(
|
||||||
'--no-cache-dir', action='store_const', const=None, dest='cachedir',
|
'--no-cache-dir', action='store_const', const=None, dest='cachedir',
|
||||||
help='Disable filesystem caching')
|
help='Disable filesystem caching')
|
||||||
|
Loading…
Reference in New Issue
Block a user