From 353f86488ae190c0d1a357ac0f6f9616fead3234 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 23 Jul 2017 21:11:33 +0200 Subject: [PATCH] Disallow :spawn -u -d --- qutebrowser/browser/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 75ef17c08..f3f71d910 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -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: