[commonmistakes] Correct logic error
[youtube-dl] / youtube_dl / extractor / commonmistakes.py
index 75c06903fc6073be5e214bb8eb79469bfafbeb1b..dbbf27a7486ab78a239df5a21a761b911a1e4a6e 100644 (file)
@@ -24,6 +24,6 @@ class CommonMistakesIE(InfoExtractor):
             'That doesn\'t make any sense. '
             'Simply remove the parameter in your command or configuration.'
         ) % url
-        if self._downloader.params.get('verbose'):
+        if not self._downloader.params.get('verbose'):
             msg += ' Add -v to the command line to see what arguments and configuration youtube-dl got.'
         raise ExtractorError(msg, expected=True)