[options] Add --no-call-home

While we're at it, also drop "experimental" moniker for --call-home - should work fine.
This commit is contained in:
Philipp Hagemeister 2015-01-10 21:09:15 +01:00
parent c071733fd4
commit 8bfa75451b
2 changed files with 7 additions and 3 deletions

View file

@ -213,8 +213,8 @@ class YoutubeDL(object):
- "detect_or_warn": check whether we can do anything - "detect_or_warn": check whether we can do anything
about it, warn otherwise about it, warn otherwise
source_address: (Experimental) Client-side IP address to bind to. source_address: (Experimental) Client-side IP address to bind to.
call_home: (Experimental) Boolean, true iff we are allowed to call_home: Boolean, true iff we are allowed to contact the
contact the youtube-dl servers for debugging. youtube-dl servers for debugging.
The following parameters are not used by YoutubeDL itself, they are used by The following parameters are not used by YoutubeDL itself, they are used by

View file

@ -508,7 +508,11 @@ def parseOpts(overrideArguments=None):
verbosity.add_option( verbosity.add_option(
'-C', '--call-home', '-C', '--call-home',
dest='call_home', action='store_true', default=False, 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 = optparse.OptionGroup(parser, 'Filesystem Options')
filesystem.add_option( filesystem.add_option(