diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-09-26 00:31:16 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-09-26 00:31:16 -0400 |
commit | e0b289b940cd18adab173f65f0413a9575525860 (patch) | |
tree | 41f249bd71daa392555c012e1235aa71aaade2a1 /cmd2/cmd2.py | |
parent | c5b8655ca1d76966665eb5735ca9b8f62aee24c1 (diff) | |
download | cmd2-git-e0b289b940cd18adab173f65f0413a9575525860.tar.gz |
Added more unit tests
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 79313406..a2987a65 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -2022,7 +2022,7 @@ class Cmd(cmd.Cmd): # Confirm we have the correct number of arguments if len(statement.arg_list) != macro.required_arg_count: - self.perror('The macro {} expects {} arguments'.format(statement.command, macro.required_arg_count), + self.perror('The macro {!r} expects {} argument(s)'.format(statement.command, macro.required_arg_count), traceback_war=False) return False |