diff options
author | Eric Lin <anselor@gmail.com> | 2021-03-23 10:49:25 -0400 |
---|---|---|
committer | Eric Lin <anselor@gmail.com> | 2021-03-23 10:49:25 -0400 |
commit | 67010a9953d4ede7e509935a8481ebb5efc9910c (patch) | |
tree | 2630cc90e5a055c568681bc124a8c2a14ad4c3bd /cmd2/cmd2.py | |
parent | 8f981f37eddcccc919329245b85fd44d5975a6a7 (diff) | |
download | cmd2-git-67010a9953d4ede7e509935a8481ebb5efc9910c.tar.gz |
Updated out of date comment
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 088a1c7e..013b5837 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -772,7 +772,7 @@ class Cmd(cmd.Cmd): if not (cmdset is self or cmdset in self._installed_command_sets): raise CommandSetRegistrationError('Cannot register subcommands with an unregistered CommandSet') - # find all methods that start with the subcommand prefix + # find methods that have the required attributes necessary to be recognized as a sub-command methods = inspect.getmembers( cmdset, predicate=lambda meth: isinstance(meth, Callable) |