diff options
| author | Philipp Hagemeister <phihag@phihag.de> | 2015-02-10 04:22:10 +0100 | 
|---|---|---|
| committer | Philipp Hagemeister <phihag@phihag.de> | 2015-02-10 04:22:10 +0100 | 
| commit | 7e5db8c930e5f154287f98c6c0da90fffd2ede4f (patch) | |
| tree | 1363cfbbd15c8ccad3250eedc33ca01c3b4eac61 /youtube_dl/options.py | |
| parent | f7a211dcc8d86fe5a4d25f4d209ffb3efc05bdfc (diff) | |
[options] Add --no-color
Diffstat (limited to 'youtube_dl/options.py')
| -rw-r--r-- | youtube_dl/options.py | 5 | 
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( | 
