]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/options.py
[youtube] Remove annotations and deprecate `--write-annotations` (#765)
[yt-dlp.git] / yt_dlp / options.py
index 6bad37d198906529b8f35864def23f83dacea561..86aad3393965f1337e67fd0040e197e0eb45a91e 100644 (file)
@@ -1070,11 +1070,11 @@ def _dict_from_options_callback(
     filesystem.add_option(
         '--write-annotations',
         action='store_true', dest='writeannotations', default=False,
-        help='Write video annotations to a .annotations.xml file')
+        help=optparse.SUPPRESS_HELP)
     filesystem.add_option(
         '--no-write-annotations',
         action='store_false', dest='writeannotations',
-        help='Do not write video annotations (default)')
+        help=optparse.SUPPRESS_HELP)
     filesystem.add_option(
         '--write-playlist-metafiles',
         action='store_true', dest='allow_playlist_files', default=None,