aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r--youtube_dl/options.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index 7654d1a4e..21c452141 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -485,10 +485,6 @@ def parseOpts(overrideArguments=None):
'--id', default=False,
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(
'-o', '--output',
dest='outtmpl', metavar='TEMPLATE',
help=('output filename template. Use %(title)s to get the title, '
@@ -516,6 +512,10 @@ def parseOpts(overrideArguments=None):
action='store_true', dest='restrictfilenames', default=False,
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(
'-t', '--title',
action='store_true', dest='usetitle', default=False,
help='[deprecated] use title in file name (default)')