diff options
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 12a53f34..5910de33 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -2005,7 +2005,7 @@ class Cmd(cmd.Cmd): def _cmd_func(self, command: str) -> Optional[Callable]: """ Get the function for a command - :param arg: the name of the command + :param command: the name of the command """ func_name = self._cmd_func_name(command) if func_name: @@ -2015,7 +2015,7 @@ class Cmd(cmd.Cmd): def _cmd_func_name(self, command: str) -> str: """Get the method name associated with a given command. - :param arg: command to look up method name which implements it + :param command: command to look up method name which implements it :return: method name which implements the given command """ target = COMMAND_PREFIX + command |