[options] Mark --fixup as non-experimental and correct its help
This commit is contained in:
parent
469a64cebf
commit
9fffd0469f
2 changed files with 3 additions and 4 deletions
|
@ -48,7 +48,7 @@ class ExternalFD(FileDownloader):
|
||||||
def _source_address(self, command_option):
|
def _source_address(self, command_option):
|
||||||
command_part = []
|
command_part = []
|
||||||
source_address = self.ydl.params.get('source_address')
|
source_address = self.ydl.params.get('source_address')
|
||||||
if source_address:
|
if source_address is None:
|
||||||
command_part = [command_option, source_address]
|
command_part = [command_option, source_address]
|
||||||
return command_part
|
return command_part
|
||||||
|
|
||||||
|
|
|
@ -698,10 +698,9 @@ def parseOpts(overrideArguments=None):
|
||||||
postproc.add_option(
|
postproc.add_option(
|
||||||
'--fixup',
|
'--fixup',
|
||||||
metavar='POLICY', dest='fixup', default='detect_or_warn',
|
metavar='POLICY', dest='fixup', default='detect_or_warn',
|
||||||
help='(experimental) Automatically correct known faults of the file. '
|
help='Automatically correct known faults of the file. '
|
||||||
'One of never (do nothing), warn (only emit a warning), '
|
'One of never (do nothing), warn (only emit a warning), '
|
||||||
'detect_or_warn(check whether we can do anything about it, warn '
|
'detect_or_warn(the default; fix file if we can, warn otherwise)')
|
||||||
'otherwise')
|
|
||||||
postproc.add_option(
|
postproc.add_option(
|
||||||
'--prefer-avconv',
|
'--prefer-avconv',
|
||||||
action='store_false', dest='prefer_ffmpeg',
|
action='store_false', dest='prefer_ffmpeg',
|
||||||
|
|
Loading…
Reference in a new issue