aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-02-10 04:22:10 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-02-10 04:22:10 +0100
commit7e5db8c930e5f154287f98c6c0da90fffd2ede4f (patch)
tree1363cfbbd15c8ccad3250eedc33ca01c3b4eac61 /youtube_dl/options.py
parentf7a211dcc8d86fe5a4d25f4d209ffb3efc05bdfc (diff)
downloadyoutube-dl-7e5db8c930e5f154287f98c6c0da90fffd2ede4f.tar.xz
[options] Add --no-color
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r--youtube_dl/options.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index f64aa5b85..0219e6ba4 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -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(