diff --git a/src/core.py b/src/core.py index 1a1ff433..4e17d747 100644 --- a/src/core.py +++ b/src/core.py @@ -1315,12 +1315,14 @@ class Core(object): /help """ args = arg.split() + acc = [] if not args: msg = _('Available commands are: ') for command in self.commands: - msg += "%s " % command + acc.append(command) for command in self.current_tab().commands: - msg += "%s " % command + acc.append(command) + msg += ' '.join(sorted(acc)) msg += _("\nType /help to know what each command does") if args: if args[0] in self.commands: