diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-02-02 14:44:22 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-02-02 14:44:22 +0100 |
commit | dbf2ba3d61da04a8b3fce0ef560fdb4e74654523 (patch) | |
tree | fa289c48d9b9f7679209f0fd72f516b94c6c1115 | |
parent | b47bbac393be2b835ac5037def964f19305c28d4 (diff) |
Better help for new options
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | youtube_dl/__init__.py | 5 | ||||
-rw-r--r-- | youtube_dl/version.py | 2 |
3 files changed, 5 insertions, 6 deletions
@@ -38,8 +38,8 @@ which means you can modify it, redistribute it or use it however you like. --reject-title REGEX skip download for matching titles (regex or caseless sub-string) --max-downloads NUMBER Abort after downloading NUMBER files - --min-filesize SIZE Do not download any videos smaller than SIZE (e.g. 50k or 44.6m) - --max-filesize SIZE Do not download any videos larger than SIZE (e.g. 50k or 44.6m) + --min-filesize SIZE Skip files smaller than this size + --max-filesize SIZE Skip files larger than this size ## Filesystem Options: -t, --title use title in file name diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index 7ed9bfc0d..0a1041862 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -150,9 +150,8 @@ def parseOpts(): 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('--min-filesize', metavar='SIZE', dest='min_filesize', help="Skip files smaller than this size", default=None) - selection.add_option('--max-filesize', metavar='SIZE', dest='max_filesize', help="Skip files larger than this size", default=None) + selection.add_option('--min-filesize', metavar='SIZE', dest='min_filesize', help="Do not download any videos smaller than SIZE (e.g. 50k or 44.6m)", default=None) + selection.add_option('--max-filesize', metavar='SIZE', dest='max_filesize', help="Do not download any videos larger than SIZE (e.g. 50k or 44.6m)", default=None) authentication.add_option('-u', '--username', diff --git a/youtube_dl/version.py b/youtube_dl/version.py index eed8f325c..8b231ae80 100644 --- a/youtube_dl/version.py +++ b/youtube_dl/version.py @@ -1,2 +1,2 @@ -__version__ = '2013.02.01' +__version__ = '2013.02.02' |