Fix help of --cachedir
authorPhilipp Hagemeister <phihag@phihag.de>
Wed, 2 Oct 2013 12:37:19 +0000 (14:37 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Wed, 2 Oct 2013 12:37:19 +0000 (14:37 +0200)
youtube_dl/__init__.py

index 62b55798618ca6fc88bb37357741f2bfef12fa6f..03df835f23ebe58bd1048d336ba68019e4a2e33d 100644 (file)
@@ -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(
         '--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(
         '--no-cache-dir', action='store_const', const=None, dest='cachedir',
         help='Disable filesystem caching')