Make mode a kwarg-only argument for :bind.

This commit is contained in:
Florian Bruhin 2014-12-11 21:17:22 +01:00
parent 1d6661f90b
commit 3579caf1ff

View File

@ -131,7 +131,7 @@ class KeyConfigParser(QObject):
f.write(data)
@cmdutils.register(instance='key-config', maxsplit=1)
def bind(self, key, command, mode=None):
def bind(self, key, command, *, mode=None):
"""Bind a key to a command.
Args: