diff options
author | pukkandan <pukkandan@gmail.com> | 2021-02-19 04:49:55 +0530 |
---|---|---|
committer | pukkandan <pukkandan@gmail.com> | 2021-02-19 04:52:05 +0530 |
commit | a40258a259c4f4a0a568933af29b1b54d969f401 (patch) | |
tree | ab791c91c122811a23035e559c6572d7b00ea7ae | |
parent | ba7bf12d89cfab0aa079191da6c2ae88d4689396 (diff) | |
download | hypervideo-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.md | 1 | ||||
-rw-r--r-- | youtube_dlc/options.py | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -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', |