summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd2/cmd2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 5cb38101..2256558a 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -1973,7 +1973,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:
@@ -1983,7 +1983,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