diff options
| author | Philipp Hagemeister <phihag@phihag.de> | 2015-01-10 21:09:15 +0100 | 
|---|---|---|
| committer | Philipp Hagemeister <phihag@phihag.de> | 2015-01-10 21:09:18 +0100 | 
| commit | 8bfa75451b6506db324e766ef5d815d10eee5619 (patch) | |
| tree | a94609a39e48ab9d4f3e97077963428bcf883f6c | |
| parent | c071733fd441109633bb9bb57007fae754b7610d (diff) | |
[options] Add --no-call-home
While we're at it, also drop "experimental" moniker for --call-home - should work fine.
| -rwxr-xr-x | youtube_dl/YoutubeDL.py | 4 | ||||
| -rw-r--r-- | youtube_dl/options.py | 6 | 
2 files changed, 7 insertions, 3 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 84cea472c..47e143d89 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -213,8 +213,8 @@ class YoutubeDL(object):                         - "detect_or_warn": check whether we can do anything                                             about it, warn otherwise      source_address:    (Experimental) Client-side IP address to bind to. -    call_home:         (Experimental) Boolean, true iff we are allowed to -                       contact the youtube-dl servers for debugging. +    call_home:         Boolean, true iff we are allowed to contact the +                       youtube-dl servers for debugging.      The following parameters are not used by YoutubeDL itself, they are used by diff --git a/youtube_dl/options.py b/youtube_dl/options.py index 0176bae75..a30974efd 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -508,7 +508,11 @@ def parseOpts(overrideArguments=None):      verbosity.add_option(          '-C', '--call-home',          dest='call_home', action='store_true', default=False, -        help='Contact the youtube-dl server for debugging. (Experimental)') +        help='Contact the youtube-dl server for debugging.') +    verbosity.add_option( +        '--no-call-home', +        dest='call_home', action='store_false', default=False, +        help='Do NOT contact the youtube-dl server for debugging.')      filesystem = optparse.OptionGroup(parser, 'Filesystem Options')      filesystem.add_option(  | 
