Disallow :spawn -u -d

This commit is contained in:
Florian Bruhin 2017-07-23 21:11:33 +02:00
parent a00548ec4d
commit 353f86488a

View File

@ -1160,6 +1160,7 @@ class CommandDispatcher:
detach: Whether the command should be detached from qutebrowser.
cmdline: The commandline to execute.
"""
cmdutils.check_exclusive((userscript, detach), 'ud')
try:
cmd, *args = shlex.split(cmdline)
except ValueError as e: