Skip to content

Commit

Permalink
[options] add --playlist-index as alias to --playlist-items
Browse files Browse the repository at this point in the history
  • Loading branch information
Lesmiscore committed Dec 30, 2021
1 parent ecdb06c commit 989fa1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def _dict_from_options_callback(
dest='playlistend', metavar='NUMBER', default=None, type=int,
help='Playlist video to end at (default is last)')
selection.add_option(
'--playlist-items',
'--playlist-items', '--playlist-index',
dest='playlist_items', metavar='ITEM_SPEC', default=None,
help='Playlist video items to download. Specify indices of the videos in the playlist separated by commas like: "--playlist-items 1,2,5,8" if you want to download videos indexed 1, 2, 5, 8 in the playlist. You can specify range: "--playlist-items 1-3,7,10-13", it will download the videos at index 1, 2, 3, 7, 10, 11, 12 and 13')
selection.add_option(
Expand Down

0 comments on commit 989fa1c

Please sign in to comment.