mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
Deprecate --auto-number (Closes #2704)
This commit is contained in:
parent
7c7a0d395c
commit
2865cf0419
|
@ -484,10 +484,6 @@ def parseOpts(overrideArguments=None):
|
||||||
filesystem.add_option(
|
filesystem.add_option(
|
||||||
'--id', default=False,
|
'--id', default=False,
|
||||||
action='store_true', dest='useid', help='use only video ID in file name')
|
action='store_true', dest='useid', help='use only video ID in file name')
|
||||||
filesystem.add_option(
|
|
||||||
'-A', '--auto-number',
|
|
||||||
action='store_true', dest='autonumber', default=False,
|
|
||||||
help='number downloaded files starting from 00000')
|
|
||||||
filesystem.add_option(
|
filesystem.add_option(
|
||||||
'-o', '--output',
|
'-o', '--output',
|
||||||
dest='outtmpl', metavar='TEMPLATE',
|
dest='outtmpl', metavar='TEMPLATE',
|
||||||
|
@ -515,6 +511,10 @@ def parseOpts(overrideArguments=None):
|
||||||
'--restrict-filenames',
|
'--restrict-filenames',
|
||||||
action='store_true', dest='restrictfilenames', default=False,
|
action='store_true', dest='restrictfilenames', default=False,
|
||||||
help='Restrict filenames to only ASCII characters, and avoid "&" and spaces in filenames')
|
help='Restrict filenames to only ASCII characters, and avoid "&" and spaces in filenames')
|
||||||
|
filesystem.add_option(
|
||||||
|
'-A', '--auto-number',
|
||||||
|
action='store_true', dest='autonumber', default=False,
|
||||||
|
help='[deprecated; use -o "%(autonumber)s-%(title)s.%(ext)s" ] number downloaded files starting from 00000')
|
||||||
filesystem.add_option(
|
filesystem.add_option(
|
||||||
'-t', '--title',
|
'-t', '--title',
|
||||||
action='store_true', dest='usetitle', default=False,
|
action='store_true', dest='usetitle', default=False,
|
||||||
|
|
Loading…
Reference in a new issue