]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[options] Mark --fixup as non-experimental and correct its help
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 2 Feb 2015 19:28:18 +0000 (20:28 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 2 Feb 2015 19:28:18 +0000 (20:28 +0100)
youtube_dl/downloader/external.py
youtube_dl/options.py

index 012057ecb5fcc70c7221e63a24500b6c85046ca3..e47e3bf4c7df58f4e8a74c8c42263799c2b3208e 100644 (file)
@@ -48,7 +48,7 @@ class ExternalFD(FileDownloader):
     def _source_address(self, command_option):
         command_part = []
         source_address = self.ydl.params.get('source_address')
-        if source_address:
+        if source_address is None:
             command_part = [command_option, source_address]
         return command_part
 
index 5e4a1ad9b2f9e38b3ac6752f50871a4344e3cebe..d5e5759649a5572432b538333518c76c92ba98d7 100644 (file)
@@ -698,10 +698,9 @@ def parseOpts(overrideArguments=None):
     postproc.add_option(
         '--fixup',
         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), '
-             'detect_or_warn(check whether we can do anything about it, warn '
-             'otherwise')
+             'detect_or_warn(the default; fix file if we can, warn otherwise)')
     postproc.add_option(
         '--prefer-avconv',
         action='store_false', dest='prefer_ffmpeg',