diff options
author | Ricardo Garcia <sarbalap+freshmeat@gmail.com> | 2010-07-22 20:28:20 +0200 |
---|---|---|
committer | Ricardo Garcia <sarbalap+freshmeat@gmail.com> | 2010-10-31 11:28:29 +0100 |
commit | 460d8acbaa44d158d72424665c8699c00873ddfe (patch) | |
tree | be8372fe105b7cffd597e4f53da17faad8fa713d | |
parent | 9bf7fa52134838a63591052f40d61afa5894da92 (diff) |
Remove some format command line options
-rwxr-xr-x | youtube-dl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/youtube-dl b/youtube-dl index 8c22081f8..e5691c71a 100755 --- a/youtube-dl +++ b/youtube-dl @@ -2132,16 +2132,12 @@ if __name__ == '__main__': video_format = optparse.OptionGroup(parser, 'Video Format Options') video_format.add_option('-f', '--format', action='store', dest='format', metavar='FORMAT', help='video format code') - video_format.add_option('-b', '--best-quality', - action='store_const', dest='format', help='download the best quality video possible', const='0') video_format.add_option('-m', '--mobile-version', action='store_const', dest='format', help='alias for -f 17', const='17') - video_format.add_option('-d', '--high-def', - action='store_const', dest='format', help='alias for -f 22', const='22') video_format.add_option('--all-formats', action='store_const', dest='format', help='download all available video formats', const='-1') video_format.add_option('--max-quality', - action='store', dest='format_limit', metavar='FORMAT', help='highest quality format limit for -b') + action='store', dest='format_limit', metavar='FORMAT', help='highest quality format to download') parser.add_option_group(video_format) verbosity = optparse.OptionGroup(parser, 'Verbosity / Simulation Options') |