[options] Add --no-color
[youtube-dl] / youtube_dl / options.py
index f64aa5b85a849005a05054ff95f4af4cd483e9c1..0219e6ba49a5a98a3b75be60e08d428352f98aa9 100644 (file)
@@ -165,6 +165,11 @@ def parseOpts(overrideArguments=None):
         action='store_const', dest='extract_flat', const='in_playlist',
         default=False,
         help='Do not extract the videos of a playlist, only list them.')
+    general.add_option(
+        '--no-color', '--no-colors',
+        action='store_true', dest='no_color',
+        default=False,
+        help='Do not emit color codes in output.')
 
     network = optparse.OptionGroup(parser, 'Network Options')
     network.add_option(