From 90180509a2d3873695bd80bee0e1505d01429a39 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 27 Jan 2014 22:32:22 +0100 Subject: [PATCH] Fix invalid argument count error --- qutebrowser/commands/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/commands/utils.py b/qutebrowser/commands/utils.py index a097344b9..cb711f328 100644 --- a/qutebrowser/commands/utils.py +++ b/qutebrowser/commands/utils.py @@ -63,7 +63,7 @@ class CommandParser(QObject): try: self.cmd.check(self.args) except ArgumentCountError: - self.error.emit("{}: invalid argument count".format(self.cmd)) + self.error.emit("{}: invalid argument count".format(self.cmd.mainname)) raise def _run(self, count=None):