diff options
Diffstat (limited to 'src/nbblib/commands.py')
-rw-r--r-- | src/nbblib/commands.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nbblib/commands.py b/src/nbblib/commands.py index 2c7cfdf..2a02a83 100644 --- a/src/nbblib/commands.py +++ b/src/nbblib/commands.py @@ -104,11 +104,12 @@ class Command(object): return True def __str__(self): - return "Command(%s, %s)" % (self.cmd_name, self.cmdargs) + return "Command(%s, %s)" % (self.name, self.cmdargs) __all__.append('Commander') class Commander(object): + """Represent cmdline command (parse args, find and run the command)""" def __init__(self, context, cmd, *cmdargs): self.context = context |