diff options
Diffstat (limited to 'clcommands.py')
-rw-r--r-- | clcommands.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clcommands.py b/clcommands.py index 19a6c07..d061dce 100644 --- a/clcommands.py +++ b/clcommands.py @@ -277,8 +277,7 @@ class ListCommandsCommand(Command): print '--help' print '--' + optname else: - commands = _COMMANDS.keys() - commands.sort() + commands = sorted(_COMMANDS.keys()) for command in commands: cmd = _COMMANDS[command] if not cmd.hidden: |