micropython/cmd.py | raw changeset files shortlog |
1.1 --- a/micropython/cmd.py Sun Oct 25 18:35:53 2009 +0100 1.2 +++ b/micropython/cmd.py Mon Oct 26 00:23:36 2009 +0100 1.3 @@ -37,6 +37,12 @@ 1.4 1.5 return requested_optimisations 1.6 1.7 +def show_optimisations(): 1.8 + 1.9 + "Show available optimisation flags." 1.10 + 1.11 + return ",".join(micropython.Program.supported_optimisations) 1.12 + 1.13 def program(filename, path, requested_optimisations, verbose=0): 1.14 1.15 """