$URL$
"""
-
+from optparse import OptionParser
import pygame
from minwii.app import MinWii
pygame.quit()
if __name__ == "__main__" :
- main(True, True)
+ usage = "%prog [options]"
+ op = OptionParser(usage)
+
+ op.add_option("--no-wii", dest="wiimoteSupport"
+ , action="store_false"
+ , default=True
+ , help = u"désactivation du support des wiimotes"
+ u" [%default]")
+
+ op.add_option("--no-fullscreen", dest="fullscreen"
+ , action="store_false"
+ , default=True
+ , help = u"désactivation du mode plein écran"
+ u" [%default]")
+ options, args = op.parse_args()
+ main(options.wiimoteSupport, options.fullscreen)