1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-31 02:33:21 +08:00

[options] Add alias --dump-header for --print-traffic

This commit is contained in:
Philipp Hagemeister 2015-02-10 04:52:33 +01:00
parent 7e5db8c930
commit 2f543a2142

View File

@ -557,7 +557,7 @@ def parseOpts(overrideArguments=None):
action='store_true', dest='youtube_print_sig_code', default=False, action='store_true', dest='youtube_print_sig_code', default=False,
help=optparse.SUPPRESS_HELP) help=optparse.SUPPRESS_HELP)
verbosity.add_option( verbosity.add_option(
'--print-traffic', '--print-traffic', '--dump-headers',
dest='debug_printtraffic', action='store_true', default=False, dest='debug_printtraffic', action='store_true', default=False,
help='Display sent and read HTTP traffic') help='Display sent and read HTTP traffic')
verbosity.add_option( verbosity.add_option(