summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2010-09-06 11:39:45 +0200
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2010-09-06 11:39:45 +0200
commitd4db508651ec838088c0c2ba3c86933b08a6901d (patch)
tree8eb2ac35b7885e968f17a438650157647a198f5b
parentc2abef8dd4bbf6f71e64bc859dcc86adb57a18e6 (diff)
downloadlogilab-common-d4db508651ec838088c0c2ba3c86933b08a6901d.tar.gz
fix stupid name error
-rw-r--r--clcommands.py2
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