aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-01-10 21:02:27 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-01-10 21:02:27 +0100
commit58b1f00d19d608470540b111f3825eefafbdae97 (patch)
treefa05db3215bf6516e350746a3bc446cc4fc5d605 /youtube_dl/options.py
parent149f05c7b6adcb55b96c4ca60abc4e42d98623a7 (diff)
downloadyoutube-dl-58b1f00d19d608470540b111f3825eefafbdae97.tar.xz
[YoutubeDL] Add new --call-home option for debugging
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r--youtube_dl/options.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index e25466c39..0176bae75 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -505,6 +505,10 @@ def parseOpts(overrideArguments=None):
'--print-traffic',
dest='debug_printtraffic', action='store_true', default=False,
help='Display sent and read HTTP traffic')
+ verbosity.add_option(
+ '-C', '--call-home',
+ dest='call_home', action='store_true', default=False,
+ help='Contact the youtube-dl server for debugging. (Experimental)')
filesystem = optparse.OptionGroup(parser, 'Filesystem Options')
filesystem.add_option(