]> jfr.im git - yt-dlp.git/commitdiff
[documentation] Remove `--flat-videos`
authorpukkandan <redacted>
Thu, 18 Feb 2021 23:19:55 +0000 (04:49 +0530)
committerpukkandan <redacted>
Thu, 18 Feb 2021 23:22:05 +0000 (04:52 +0530)
It does not work as documented
It was an experimental option that I forgot to remove when making the fork public

:ci skip all

README.md
youtube_dlc/options.py

index 17bd3b0b39367c29b198941f99ec7ecf70138a18..a792c26c11236ceb8fb42e9d57917185aed8d06a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -177,7 +177,6 @@ ## General Options:
                                      containing directory
     --flat-playlist                  Do not extract the videos of a playlist,
                                      only list them
-    --flat-videos                    Do not resolve the video urls
     --no-flat-playlist               Extract the videos of a playlist
     --mark-watched                   Mark videos watched (YouTube only)
     --no-mark-watched                Do not mark videos watched
index 93f972133c77ce1f1449b4156e0e821d8602d6ab..0206aeecab6751fbcdd6a88e428842d78eda98ad 100644 (file)
@@ -201,7 +201,9 @@ def _dict_from_multiple_values_options_callback(
     general.add_option(
         '--flat-videos',
         action='store_true', dest='extract_flat',
-        help='Do not resolve the video urls')
+        # help='Do not resolve the video urls')
+        # doesn't work
+        help=optparse.SUPPRESS_HELP)
     general.add_option(
         '--no-flat-playlist',
         action='store_false', dest='extract_flat',