test.py | raw changeset files shortlog |
1.1 --- a/test.py Sun Oct 25 18:35:53 2009 +0100 1.2 +++ b/test.py Mon Oct 26 00:23:36 2009 +0100 1.3 @@ -26,6 +26,11 @@ 1.4 args = sys.argv[2:] 1.5 path = sys.path[:] 1.6 1.7 + if "--help" in sys.argv: 1.8 + print "Optimisations:" 1.9 + print micropython.cmd.show_optimisations() 1.10 + sys.exit(1) 1.11 + 1.12 if len(sys.argv) > 1: 1.13 filename = os.path.abspath(sys.argv[1]) 1.14 path.append(os.path.split(filename)[0])