diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-09-26 23:40:34 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-09-26 23:40:34 -0400 |
commit | ad7a477fbb13baa22abadcc7d16965b85a520460 (patch) | |
tree | e900ac4d10064545bf5de4e02f0cfa1a65121e7c /cmd2 | |
parent | 9f1840cc60c42401d33ec2cec348d2c564bc19b2 (diff) | |
download | cmd2-git-ad7a477fbb13baa22abadcc7d16965b85a520460.tar.gz |
Passing strings into do_help now
Diffstat (limited to 'cmd2')
-rw-r--r-- | cmd2/cmd2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 9f97698f..7b7db87b 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -2340,7 +2340,7 @@ class Cmd(cmd.Cmd): func(self, args) else: # No subcommand was provided, so call help - self.do_help(['alias']) + self.do_help('alias') # ----- Macro subcommand functions ----- @@ -2550,7 +2550,7 @@ class Cmd(cmd.Cmd): func(self, args) else: # No subcommand was provided, so call help - self.do_help(['macro']) + self.do_help('macro') def complete_help_command(self, text: str, line: str, begidx: int, endidx: int) -> List[str]: """Completes the command argument of help""" |