From: Philipp Hagemeister Date: Tue, 29 Jul 2014 15:19:07 +0000 (+0200) Subject: Move --bidi-workaround to workarounds option group X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=10b04ff7f4cdd77cee9e8fcda1a9f77f75a1317f;p=youtube-dl Move --bidi-workaround to workarounds option group Duh. --- diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index a3a8013fb..429630ce5 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -252,9 +252,6 @@ def parseOpts(overrideArguments=None): general.add_option( '--socket-timeout', dest='socket_timeout', type=float, default=None, help=u'Time to wait before giving up, in seconds') - general.add_option( - '--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') general.add_option( '--default-search', dest='default_search', metavar='PREFIX', @@ -386,6 +383,9 @@ def parseOpts(overrideArguments=None): dest='headers', action='append', help='specify a custom HTTP header and its value, separated by a colon \':\'. You can use this option multiple times', ) + workarounds.add_option( + '--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') verbosity.add_option('-q', '--quiet', action='store_true', dest='quiet', help='activates quiet mode', default=False)