From 10321e5b7447437c475bd4f3ed1a463eb5e38355 Mon Sep 17 00:00:00 2001 From: SilentGob Date: Wed, 30 Nov 2011 10:21:53 +0100 Subject: [PATCH 1/2] Clarify the --max-downloads option, we do not abort after downloading NUMBER files --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8e0b6e794..2ada086fe 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ which means you can modify it, redistribute it or use it however you like. -r, --rate-limit LIMIT download rate limit (e.g. 50k or 44.6m) -R, --retries RETRIES number of retries (default is 10) --dump-user-agent display the current browser identification - --list-extractors List all supported extractors and the URLs they + --list-extractors list all supported extractors and the URLs they would handle ### Video Selection: @@ -28,7 +28,7 @@ which means you can modify it, redistribute it or use it however you like. sub-string) --reject-title REGEX skip download for matching titles (regex or caseless sub-string) - --max-downloads NUMBER Abort after downloading NUMBER files + --max-downloads NUMBER download a maximum of NUMBER files ### Filesystem Options: -t, --title use title in file name From 3d04c50899b822bf8d00091796f9bdd1df81b9df Mon Sep 17 00:00:00 2001 From: SilentGob Date: Wed, 30 Nov 2011 10:25:44 +0100 Subject: [PATCH 2/2] Clarify --max-downloads help --- youtube-dl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube-dl b/youtube-dl index 042b85267..59027c085 100755 --- a/youtube-dl +++ b/youtube-dl @@ -4017,7 +4017,7 @@ def parseOpts(): help='display the current browser identification', default=False) general.add_option('--list-extractors', action='store_true', dest='list_extractors', - help='List all supported extractors and the URLs they would handle', default=False) + help='list all supported extractors and the URLs they would handle', default=False) selection.add_option('--playlist-start', dest='playliststart', metavar='NUMBER', help='playlist video to start at (default is 1)', default=1) @@ -4025,7 +4025,7 @@ def parseOpts(): dest='playlistend', metavar='NUMBER', help='playlist video to end at (default is last)', default=-1) selection.add_option('--match-title', dest='matchtitle', metavar='REGEX',help='download only matching titles (regex or caseless sub-string)') selection.add_option('--reject-title', dest='rejecttitle', metavar='REGEX',help='skip download for matching titles (regex or caseless sub-string)') - selection.add_option('--max-downloads', metavar='NUMBER', dest='max_downloads', help='Abort after downloading NUMBER files', default=None) + selection.add_option('--max-downloads', metavar='NUMBER', dest='max_downloads', help='download a maximum of NUMBER files', default=None) authentication.add_option('-u', '--username', dest='username', metavar='USERNAME', help='account username')