Make subcommands finally work properly
[mw] / src / mw / cli.py
index a822ff24c371eaa499f993c97e49725fa0ef7d73..d5dd6dc875d7699262868674e04019990b2bf9c2 100644 (file)
@@ -69,4 +69,4 @@ class CLI(object):
         if len(sys.argv) == 1:
             self.usage()
         # woo let's go
-        self.commands[the_command].main()
+        self.all_commands[the_command].main()

Benjamin Mako Hill || Want to submit a patch?