]> jfr.im git - yt-dlp.git/commitdiff
Fix `--no-get-comments`
authorpukkandan <redacted>
Fri, 3 Sep 2021 19:48:56 +0000 (01:18 +0530)
committerpukkandan <redacted>
Fri, 3 Sep 2021 20:09:30 +0000 (01:39 +0530)
Closes #882

yt_dlp/options.py

index 2086e12655a86e23e82a76fbee465e432818073c..505160cec3c53a3db92c691542549d5e0c031cf1 100644 (file)
@@ -1105,7 +1105,7 @@ def _dict_from_options_callback(
             'The comments are fetched even without this option if the extraction is known to be quick (Alias: --get-comments)'))
     filesystem.add_option(
         '--no-write-comments', '--no-get-comments',
-        action='store_true', dest='getcomments', default=False,
+        action='store_false', dest='getcomments',
         help='Do not retrieve video comments unless the extraction is known to be quick (Alias: --no-get-comments)')
     filesystem.add_option(
         '--load-info-json', '--load-info',