ctl: fix display of list of commands

This commit is contained in:
Frédéric Péters 2015-02-05 11:45:43 +01:00
parent b199f1dd53
commit c631b0a852
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ class Ctl(object):
self.load_all_commands()
print
commands = [(x.name, x.doc) for x in self.get_commands()]
commands = [(x.name, x.doc) for x in self.get_commands().values()]
commands.sort()
print 'Available commands:'
for name, description in commands: