[options] Add alias --dump-header for --print-traffic
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 10 Feb 2015 03:52:33 +0000 (04:52 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 10 Feb 2015 03:52:33 +0000 (04:52 +0100)
youtube_dl/options.py

index 0219e6ba49a5a98a3b75be60e08d428352f98aa9..873432bee4117fe8fd6c49f81cfac0991a388bcf 100644 (file)
@@ -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(