aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-02-23 22:11:16 +0700
committerSergey M․ <dstftw@gmail.com>2017-02-23 22:11:16 +0700
commitfafc2bf5a92b8397148e47e0c9b46fb4d9212075 (patch)
tree75811ab4e762836af3cfb7569c737e32349a237f
parentb3175982c31a61ff4184d666b0bdb6dd34213365 (diff)
[options] Deprecate --autonumber-size
-rw-r--r--youtube_dl/options.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index 2c880d06a..5a11dddf9 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -680,7 +680,9 @@ def parseOpts(overrideArguments=None):
filesystem.add_option(
'--autonumber-size',
dest='autonumber_size', metavar='NUMBER', default=5, type=int,
- help='Specify the number of digits in %(autonumber)s when it is present in output filename template or --auto-number option is given (default is %default)')
+ help='[deprecated; use output template with %(autonumber)0Nd, where N in the number of digits] '
+ 'Specify the number of digits in %(autonumber)s when it is present '
+ 'in output filename template or --auto-number option is given (default is %default)')
filesystem.add_option(
'--autonumber-start',
dest='autonumber_start', metavar='NUMBER', default=1, type=int,