diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2010-09-06 11:39:45 +0200 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2010-09-06 11:39:45 +0200 |
commit | d4db508651ec838088c0c2ba3c86933b08a6901d (patch) | |
tree | 8eb2ac35b7885e968f17a438650157647a198f5b | |
parent | c2abef8dd4bbf6f71e64bc859dcc86adb57a18e6 (diff) | |
download | logilab-common-d4db508651ec838088c0c2ba3c86933b08a6901d.tar.gz |
fix stupid name error
-rw-r--r-- | clcommands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clcommands.py b/clcommands.py index e2e138d..3ea1fe6 100644 --- a/clcommands.py +++ b/clcommands.py @@ -117,7 +117,7 @@ class CommandLine(dict): except IndexError: self.usage_and_exit(1) try: - command = self.get_command(cmd) + command = self.get_command(arg) except KeyError: print 'ERROR: no %s command' % arg print |