Skip to content

Commit 35e99b2

Browse files
tleonhardtkmvanbrunt
authored andcommitted
Fixed a couple docstring comments which were out of date after an argument got renamed
1 parent a67c694 commit 35e99b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd2/cmd2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1973,7 +1973,7 @@ def _restore_output(self, statement: Statement) -> None:
19731973
def _cmd_func(self, command: str) -> Optional[Callable]:
19741974
"""
19751975
Get the function for a command
1976-
:param arg: the name of the command
1976+
:param command: the name of the command
19771977
"""
19781978
func_name = self._cmd_func_name(command)
19791979
if func_name:
@@ -1983,7 +1983,7 @@ def _cmd_func(self, command: str) -> Optional[Callable]:
19831983
def _cmd_func_name(self, command: str) -> str:
19841984
"""Get the method name associated with a given command.
19851985
1986-
:param arg: command to look up method name which implements it
1986+
:param command: command to look up method name which implements it
19871987
:return: method name which implements the given command
19881988
"""
19891989
target = COMMAND_PREFIX + command

0 commit comments

Comments
 (0)