mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-01 03:22:50 -05:00
added --autonumber-start NUMBER as a command line option to be able to offset the index at which autonumber formats filenames
This commit is contained in:

committed by
Sergey M․

parent
4edeac5bfa
commit
acbb2374bc
@ -663,6 +663,10 @@ def parseOpts(overrideArguments=None):
|
||||
'--autonumber-size',
|
||||
dest='autonumber_size', metavar='NUMBER',
|
||||
help='Specify the number of digits in %(autonumber)s when it is present in output filename template or --auto-number option is given')
|
||||
filesystem.add_option(
|
||||
'--autonumber-start',
|
||||
dest='autonumber_start', metavar='NUMBER', type="int", default=1,
|
||||
help='Specify the start value for the %(autonumber)s counter. Defaults to 1.')
|
||||
filesystem.add_option(
|
||||
'--restrict-filenames',
|
||||
action='store_true', dest='restrictfilenames', default=False,
|
||||
|
Reference in New Issue
Block a user