This commit is contained in:
Camille Flynn 2024-05-02 13:59:10 +08:00 committed by GitHub
commit 1679e0a3bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -128,10 +128,10 @@ 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 index of first item to include (default
1) is 1)
--playlist-end NUMBER Playlist video to end at (default is --playlist-end NUMBER Playlist index of last item to include (default
last) is 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
playlist separated by commas like: "-- playlist separated by commas like: "--

View File

@ -256,11 +256,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 index of first item to include (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 index of last item to include (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,