Skip to content

A feature-rich command-line audio/video downloader

Move --bidi-workaround to workarounds option group

Philipp Hagemeister10b04ff7f4cd
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index a3a8013fb5..429630ce5c 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)