diff --git a/src/commands/command.py b/src/commands/command.py index 2eea3223e..8cd332e5c 100644 --- a/src/commands/command.py +++ b/src/commands/command.py @@ -288,12 +288,12 @@ class Command(object): string += "-" * 50 string += "\nname of cmd (self.key): {w%s{n\n" % self.key string += "cmd aliases (self.aliases): {w%s{n\n" % self.aliases - string += "cmd perms (self.permissions): {w%s{n\n" % self.permissions - string += "help category (self.help_category): {w%s{n\n" % self.help_category + string += "cmd locks (self.locks): {w%s{n\n" % self.locks + string += "help category (self.help_category): {w%s{n\n" % self.help_category.capitalize() string += "object calling (self.caller): {w%s{n\n" % self.caller string += "object storing cmdset (self.obj): {w%s{n\n" % self.obj string += "command string given (self.cmdstring): {w%s{n\n" % self.cmdstring # show cmdset.key instead of cmdset to shorten output - string += fill("current cmdset (self.cmdset): {w%s{n\n" % self.cmdset) + string += fill("current cmdset (self.cmdset): {w%s{n\n" % (self.cmdset.key if self.cmdset.key else self.cmdset.__class__)) self.caller.msg(string)