mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 21:45:02 +03:00
[common] use only double-dashed arguments
This commit is contained in:
parent
45fd2cb607
commit
027130a45a
@ -1559,15 +1559,15 @@ def script_main(download, download_playlist, **kwargs):
|
|||||||
|
|
||||||
playlist_grp = parser.add_argument_group('Playlist optional options')
|
playlist_grp = parser.add_argument_group('Playlist optional options')
|
||||||
playlist_grp.add_argument(
|
playlist_grp.add_argument(
|
||||||
'-first', '--first', metavar='FIRST',
|
'--first', metavar='FIRST',
|
||||||
help='the first number'
|
help='the first number'
|
||||||
)
|
)
|
||||||
playlist_grp.add_argument(
|
playlist_grp.add_argument(
|
||||||
'-last', '--last', metavar='LAST',
|
'--last', metavar='LAST',
|
||||||
help='the last number'
|
help='the last number'
|
||||||
)
|
)
|
||||||
playlist_grp.add_argument(
|
playlist_grp.add_argument(
|
||||||
'-size', '--page-size', metavar='PAGE_SIZE',
|
'--size', '--page-size', metavar='PAGE_SIZE',
|
||||||
help='the page size number'
|
help='the page size number'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user