diff --git a/atmorepl.py b/atmorepl.py index 38301fa..a14d117 100644 --- a/atmorepl.py +++ b/atmorepl.py @@ -51,7 +51,11 @@ class AtmoClientHandler(socketserver.StreamRequestHandler): self.send("Bye") else: raise CommandNotFound(cmd) - except (CommandNotFound, WrongArgumentCount) as e: + except CommandNotFound as e: + self.send("Error: {}".format(e)) + self.send("The following commands are available: ") + self.send(" reload") + except WrongArgumentCount as e: self.send("Error: {}".format(e)) @staticmethod