From 588f7f8d6d2ee3dc4f7c6157a8f85fecbe6953b0 Mon Sep 17 00:00:00 2001 From: cousteau Date: Sun, 18 Oct 2015 18:51:56 +0200 Subject: [PATCH] Update options.py Fix help strings in options.py to reflect the new --output {format} --- youtube_dl/options.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/youtube_dl/options.py b/youtube_dl/options.py index 9004e352f..983911817 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -596,7 +596,7 @@ def parseOpts(overrideArguments=None): filesystem.add_option( '--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') + help='Specify the number of digits in {autonumber} when it is present in output filename template or --auto-number option is given') filesystem.add_option( '--restrict-filenames', action='store_true', dest='restrictfilenames', default=False, @@ -604,7 +604,7 @@ def parseOpts(overrideArguments=None): 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') + help='[deprecated; use -o "{autonumber}-{title}.{ext}" ] Number downloaded files starting from 00000') filesystem.add_option( '-t', '--title', action='store_true', dest='usetitle', default=False, @@ -722,7 +722,8 @@ def parseOpts(overrideArguments=None): '--metadata-from-title', metavar='FORMAT', dest='metafromtitle', help='Parse additional metadata like song title / artist from the video title. ' - 'The format syntax is the same as --output, ' + 'The format syntax is the same as --output ' + 'but using "%(NAME)s" instead of "{NAME}"; ' 'the parsed parameters replace existing values. ' 'Additional templates: %(album)s, %(artist)s. ' 'Example: --metadata-from-title "%(artist)s - %(title)s" matches a title like '