From a40258a259c4f4a0a568933af29b1b54d969f401 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Fri, 19 Feb 2021 04:49:55 +0530 Subject: [PATCH] [documentation] Remove `--flat-videos` 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 | 1 - youtube_dlc/options.py | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 17bd3b0b3..a792c26c1 100644 --- 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 diff --git a/youtube_dlc/options.py b/youtube_dlc/options.py index 93f972133..0206aeeca 100644 --- a/youtube_dlc/options.py +++ b/youtube_dlc/options.py @@ -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',