summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-07-29 17:19:07 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-07-29 17:19:19 +0200
commit10b04ff7f4cdd77cee9e8fcda1a9f77f75a1317f (patch)
treeab6ddfe19a69d248b74b38ce347ee1d35f09f5b3
parent1f7ccb90147184a6234e3b6d603ccec9ee7880e4 (diff)
downloadyoutube-dl-10b04ff7f4cdd77cee9e8fcda1a9f77f75a1317f.tar.gz
youtube-dl-10b04ff7f4cdd77cee9e8fcda1a9f77f75a1317f.tar.xz
youtube-dl-10b04ff7f4cdd77cee9e8fcda1a9f77f75a1317f.zip
Move --bidi-workaround to workarounds option group
Duh.
-rw-r--r--youtube_dl/__init__.py6
1 files changed, 3 insertions, 3 deletions
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
@@ -253,9 +253,6 @@ def parseOpts(overrideArguments=None):
         '--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',
         help='Use this prefix for unqualified URLs. For example "gvsearch2:" downloads two videos from google videos for  youtube-dl "large apple". Use the value "auto" to let youtube-dl guess ("auto_warning" to emit a warning when guessing). "error" just throws an error. The default value "fixup_error" repairs broken URLs, but emits an error if this is not possible instead of searching.')
@@ -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)