X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Foptions.py;h=12c9826f8442b56d06e09a355a416943732a0c59;hb=5f0d813d9395848e92a1c6d83335360652d654c1;hp=fd7b400b2a67204c2378303fbf33d2d0a3470993;hpb=501f13fbf3d1f7225f91e3e0ad008df2cd3219f1;p=youtube-dl diff --git a/youtube_dl/options.py b/youtube_dl/options.py index fd7b400b2..12c9826f8 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -421,6 +421,10 @@ def parseOpts(overrideArguments=None): '--bidi-workaround', dest='bidi_workaround', action='store_true', help='Work around terminals that lack bidirectional text support. Requires bidiv or fribidi executable in PATH') + workarounds.add_option( + '--sleep-interval', metavar='SECONDS', + dest='sleep_interval', + help='Number of seconds to sleep before each download.') verbosity = optparse.OptionGroup(parser, 'Verbosity / Simulation Options') verbosity.add_option(