summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r--cmd2/cmd2.py2
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