aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan@gmail.com>2021-02-19 04:49:55 +0530
committerpukkandan <pukkandan@gmail.com>2021-02-19 04:52:05 +0530
commita40258a259c4f4a0a568933af29b1b54d969f401 (patch)
treeab791c91c122811a23035e559c6572d7b00ea7ae
parentba7bf12d89cfab0aa079191da6c2ae88d4689396 (diff)
downloadhypervideo-pre-a40258a259c4f4a0a568933af29b1b54d969f401.tar.lz
hypervideo-pre-a40258a259c4f4a0a568933af29b1b54d969f401.tar.xz
hypervideo-pre-a40258a259c4f4a0a568933af29b1b54d969f401.zip
[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
-rw-r--r--README.md1
-rw-r--r--youtube_dlc/options.py4
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 @@ Then simply type this
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 parseOpts(overrideArguments=None):
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',