summaryrefslogtreecommitdiff
path: root/clcommands.py
diff options
context:
space:
mode:
Diffstat (limited to 'clcommands.py')
-rw-r--r--clcommands.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/clcommands.py b/clcommands.py
index f230bbb..a0b4d90 100644
--- a/clcommands.py
+++ b/clcommands.py
@@ -94,6 +94,7 @@ class CommandLine(dict):
assert not self.check_duplicated_command or force or not cls.name in self, \
'a command %s is already defined' % cls.name
self[cls.name] = cls
+ return cls
def run(self, args):
"""main command line access point: