mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-01-18 16:52:16 +00:00
Clarify: playlist-start/end options are inclusive
Edit the README.md and the help text to clarify that the number specified for the --playlist-start and --playlist-end options when downloading a playlist is inclusive
This commit is contained in:
parent
087ddc2371
commit
34df2cd4b7
@ -128,9 +128,9 @@ Alternatively, refer to the [developer instructions](#developer-instructions) fo
|
|||||||
CIDR notation
|
CIDR notation
|
||||||
|
|
||||||
## Video Selection:
|
## Video Selection:
|
||||||
--playlist-start NUMBER Playlist video to start at (default is
|
--playlist-start NUMBER Playlist video to start at (inclusive) (default is
|
||||||
1)
|
1)
|
||||||
--playlist-end NUMBER Playlist video to end at (default is
|
--playlist-end NUMBER Playlist video to end at (inclusive) (default is
|
||||||
last)
|
last)
|
||||||
--playlist-items ITEM_SPEC Playlist video items to download.
|
--playlist-items ITEM_SPEC Playlist video items to download.
|
||||||
Specify indices of the videos in the
|
Specify indices of the videos in the
|
||||||
|
@ -258,11 +258,11 @@ def parseOpts(overrideArguments=None):
|
|||||||
selection.add_option(
|
selection.add_option(
|
||||||
'--playlist-start',
|
'--playlist-start',
|
||||||
dest='playliststart', metavar='NUMBER', default=1, type=int,
|
dest='playliststart', metavar='NUMBER', default=1, type=int,
|
||||||
help='Playlist video to start at (default is %default)')
|
help='Playlist video to start at (inclusive) (default is %default)')
|
||||||
selection.add_option(
|
selection.add_option(
|
||||||
'--playlist-end',
|
'--playlist-end',
|
||||||
dest='playlistend', metavar='NUMBER', default=None, type=int,
|
dest='playlistend', metavar='NUMBER', default=None, type=int,
|
||||||
help='Playlist video to end at (default is last)')
|
help='Playlist video to end at (inclusive) (default is last)')
|
||||||
selection.add_option(
|
selection.add_option(
|
||||||
'--playlist-items',
|
'--playlist-items',
|
||||||
dest='playlist_items', metavar='ITEM_SPEC', default=None,
|
dest='playlist_items', metavar='ITEM_SPEC', default=None,
|
||||||
|
Loading…
Reference in New Issue
Block a user