diff --git a/qutebrowser/commands/managers.py b/qutebrowser/commands/managers.py index ca8c7cec1..e10a2b9cb 100644 --- a/qutebrowser/commands/managers.py +++ b/qutebrowser/commands/managers.py @@ -177,7 +177,7 @@ class CommandManager: self._args = args retargs = args[:] if text.endswith(' ') and (cmd.split is True or - len(args) < cmd.args[0]): + len(args) < cmd.nargs[0]): retargs.append('') return [cmdstr] + retargs