]> gitweb @ CieloNegro.org - youtube-dl.git/blobdiff - youtube-dl
Add LATEST_VERSION to further ease checking which is the latest stable version
[youtube-dl.git] / youtube-dl
index 08afab4f801e4d84c86e6285bada64a53c241d8e..b2dc7952d9c3a0a1c7ed41bde7be98d3e887f3a2 100755 (executable)
@@ -996,7 +996,7 @@ if __name__ == '__main__':
                # Parse command line
                parser = optparse.OptionParser(
                        usage='Usage: %prog [options] url...',
-                       version='2009.05.11',
+                       version='INTERNAL',
                        conflict_handler='resolve',
                )
 
@@ -1022,11 +1022,11 @@ if __name__ == '__main__':
                video_format.add_option('-f', '--format',
                                action='append', dest='format', metavar='FMT', help='video format code')
                video_format.add_option('-b', '--best-quality',
-                               action='append_const', dest='format', help='download the best quality video possible', const='0')
+                               action='store_const', dest='format', help='download the best quality video possible', const='0')
                video_format.add_option('-m', '--mobile-version',
-                               action='append_const', dest='format', help='alias for -f 17', const='17')
+                               action='store_const', dest='format', help='alias for -f 17', const='17')
                video_format.add_option('-d', '--high-def',
-                               action='append_const', dest='format', help='alias for -f 22', const='22')
+                               action='store_const', dest='format', help='alias for -f 22', const='22')
                parser.add_option_group(video_format)
 
                verbosity = optparse.OptionGroup(parser, 'Verbosity / Simulation Options')