summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-09-27 22:28:45 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2018-09-27 22:28:45 -0400
commitf150a322c743f5be87a3ebc9c10b1ebe1e9bb67f (patch)
treec253eee697189484bbb7162b196ef870cde68691
parentb4e217239cf176b96aeb3b124eef3609e688d791 (diff)
downloadcmd2-git-f150a322c743f5be87a3ebc9c10b1ebe1e9bb67f.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 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