Fix mainname bug
This commit is contained in:
parent
ef8723d246
commit
ce07baa901
@ -216,7 +216,7 @@ class CommandParser(QObject):
|
||||
except ArgumentCountError:
|
||||
if ignore_exc:
|
||||
self.error.emit("{}: invalid argument count".format(
|
||||
self._cmd.mainname))
|
||||
self._cmd.name))
|
||||
return False
|
||||
else:
|
||||
raise
|
||||
|
Loading…
Reference in New Issue
Block a user