[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
This commit is contained in:
pukkandan 2021-02-19 04:49:55 +05:30
parent ba7bf12d89
commit a40258a259
2 changed files with 3 additions and 2 deletions

View File

@ -177,7 +177,6 @@ ## General Options:
containing directory containing directory
--flat-playlist Do not extract the videos of a playlist, --flat-playlist Do not extract the videos of a playlist,
only list them only list them
--flat-videos Do not resolve the video urls
--no-flat-playlist Extract the videos of a playlist --no-flat-playlist Extract the videos of a playlist
--mark-watched Mark videos watched (YouTube only) --mark-watched Mark videos watched (YouTube only)
--no-mark-watched Do not mark videos watched --no-mark-watched Do not mark videos watched

View File

@ -201,7 +201,9 @@ def _dict_from_multiple_values_options_callback(
general.add_option( general.add_option(
'--flat-videos', '--flat-videos',
action='store_true', dest='extract_flat', 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( general.add_option(
'--no-flat-playlist', '--no-flat-playlist',
action='store_false', dest='extract_flat', action='store_false', dest='extract_flat',