Remove some format command line options
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>
Thu, 22 Jul 2010 18:28:20 +0000 (20:28 +0200)
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:28:29 +0000 (11:28 +0100)
youtube-dl

index 8c22081f86bf8ffde1efa436258b670a02399f16..e5691c71a3465e81914e3c03c1d12d7383247728 100755 (executable)
@@ -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')