Procházet zdrojové kódy

Document --socket-timeout

Philipp Hagemeister před 11 roky
rodič
revize
9656ee5d1d
3 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. binární
      youtube-dl
  2. binární
      youtube-dl.exe
  3. 1 1
      youtube_dl/__init__.py

binární
youtube-dl


binární
youtube-dl.exe


+ 1 - 1
youtube_dl/__init__.py

@@ -192,7 +192,7 @@ def parseOpts(overrideArguments=None):
         help='Disable filesystem caching')
         help='Disable filesystem caching')
     general.add_option(
     general.add_option(
         '--socket-timeout', dest='socket_timeout',
         '--socket-timeout', dest='socket_timeout',
-        type=float, default=None, help=optparse.SUPPRESS_HELP)
+        type=float, default=None, help=u'Time to wait before giving up, in seconds')
     general.add_option(
     general.add_option(
         '--bidi-workaround', dest='bidi_workaround', action='store_true',
         '--bidi-workaround', dest='bidi_workaround', action='store_true',
         help=u'Work around terminals that lack bidirectional text support. Requires bidiv or fribidi executable in PATH')
         help=u'Work around terminals that lack bidirectional text support. Requires bidiv or fribidi executable in PATH')