about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-02-10 04:52:33 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-02-10 04:52:33 +0100
commit2f543a2142e05bac988ccd6566e0c9fc5cadca90 (patch)
tree283869c150f49d06e2f990b5cd5e8de035b764c9
parent7e5db8c930e5f154287f98c6c0da90fffd2ede4f (diff)
downloadyoutube-dl-2f543a2142e05bac988ccd6566e0c9fc5cadca90.tar.gz
youtube-dl-2f543a2142e05bac988ccd6566e0c9fc5cadca90.tar.xz
youtube-dl-2f543a2142e05bac988ccd6566e0c9fc5cadca90.zip
[options] Add alias --dump-header for --print-traffic
-rw-r--r--youtube_dl/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index 0219e6ba4..873432bee 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -557,7 +557,7 @@ def parseOpts(overrideArguments=None):
         action='store_true', dest='youtube_print_sig_code', default=False,
         help=optparse.SUPPRESS_HELP)
     verbosity.add_option(
-        '--print-traffic',
+        '--print-traffic', '--dump-headers',
         dest='debug_printtraffic', action='store_true', default=False,
         help='Display sent and read HTTP traffic')
     verbosity.add_option(