A feature-rich command-line audio/video downloader
Don't accept '-1' as format, 'all' is clearer
Jaime Marquínez Ferrándiz3a77719c5ac6
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.pyindex bce7587fd8..be5b3c1ab5 100755--- a/youtube_dl/YoutubeDL.py+++ b/youtube_dl/YoutubeDL.py@@ -1086,8 +1086,7 @@ class YoutubeDL(object):if req_format is None:req_format = 'best'formats_to_download = []- # The -1 is for supporting YoutubeIE- if req_format in ('-1', 'all'):+ if req_format == 'all':formats_to_download = formatselse:for rfstr in req_format.split(','):