From: Ian Weller Date: Fri, 18 Dec 2009 16:51:59 +0000 (-0600) Subject: Make subcommands finally work properly X-Git-Url: https://projects.mako.cc/source/mw/commitdiff_plain/3ec21f92ccc70c2283d15506dc0384e5442deee2 Make subcommands finally work properly --- diff --git a/src/mw/cli.py b/src/mw/cli.py index a822ff2..d5dd6dc 100644 --- a/src/mw/cli.py +++ b/src/mw/cli.py @@ -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()