Improve wording (apply suggestions from code review)

Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
Camille Flynn 2023-06-21 20:16:43 +00:00 committed by GitHub
parent 34df2cd4b7
commit b8d6126d30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 (inclusive) (default is --playlist-start NUMBER Playlist index of first item to include (default
1) is 1)
--playlist-end NUMBER Playlist video to end at (inclusive) (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

@ -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 (inclusive) (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 (inclusive) (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,