aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-04-23 10:33:54 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-04-23 10:33:54 +0200
commitf4b659f782b65fbc52348c034bfc13ba1f7994ed (patch)
tree1ae9de8a3f945a8fe609f3b71834daf72982f2ab /youtube_dl
parentc70446c7dff09cba6b9ece2900692dd12954c2cd (diff)
Document order of preference for format selection (closes #798)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 7df297d02..74375175d 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -165,7 +165,8 @@ def parseOpts(overrideArguments=None):
video_format.add_option('-f', '--format',
- action='store', dest='format', metavar='FORMAT', help='video format code')
+ action='store', dest='format', metavar='FORMAT',
+ help='video format code, specifiy the order of preference using slashes: "-f 22/17/18"')
video_format.add_option('--all-formats',
action='store_const', dest='format', help='download all available video formats', const='all')
video_format.add_option('--prefer-free-formats',