[options] Add --no-color
This commit is contained in:
parent
f7a211dcc8
commit
7e5db8c930
4 changed files with 10 additions and 3 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue