summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-09-27 22:28:45 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-09-28 10:01:30 -0400
commit35e99b267c61ba38023fadfa6687785357c74aaf (patch)
treedce2ca34cf9f20a7d2bccbb2247d3b73e66eb733
parenta67c694c153fd1d15c266d89bab29076d00919d5 (diff)
downloadcmd2-git-35e99b267c61ba38023fadfa6687785357c74aaf.tar.gz
Fixed a couple docstring comments which were out of date after an argument got renamed
-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