Skip to content
Snippets Groups Projects
Commit 612b7b43 authored by André's avatar André
Browse files

Show help lines only once

fixes #9018
parent 97bbc548
No related branches found
No related tags found
No related merge requests found
......@@ -142,7 +142,7 @@ class CommandProcessor(object):
def list_commands(self):
commands = list_commands(self.COMMAND_HOST)
commands = dict(commands)
return sorted(list(commands.values()), key=lambda k: k.__repr__())
return sorted(set(commands.values()), key=lambda k: k.__repr__())
class Command(object):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment