master.py: added help command

This commit is contained in:
Louis Gatin 2021-07-23 22:54:03 +02:00
parent 94c0f3be70
commit 48d2b3333b
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@ from PIL import Image
help_msg = """
This is the Planète Casio master shell. Type 'exit' or C-D to leave.
Type 'help' to print this message.
Listing commands:
members Show registered community members
@ -302,6 +303,7 @@ def enable_user(member):
commands = {
"exit": lambda: sys.exit(0),
"help": lambda: print(help_msg),
"members": members,
"groups": groups,
"forums": forums,