rename help -> commands

This commit is contained in:
ThomasV 2015-08-06 15:52:38 +02:00
parent 71ec50e634
commit e93ff18776
1 changed files with 3 additions and 3 deletions

View File

@ -94,9 +94,9 @@ class Commands:
return result
@command('')
def help(self):
"""Print help"""
return 'Commands: ' + ', '.join(sorted(known_commands.keys()))
def commands(self):
"""List of commands"""
return ' '.join(sorted(known_commands.keys()))
@command('')
def create(self):