ctl: fix display of list of commands
This commit is contained in:
parent
b199f1dd53
commit
c631b0a852
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue