diff options
author | Florian Bruhin <git@the-compiler.org> | 2017-07-23 21:11:33 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2017-07-23 21:34:56 +0200 |
commit | 4da89139d1529112d0a1c881e6fbccbd84d584d7 (patch) | |
tree | 4560ae4f9cb928bfb3f7f4a7cd1ba7783cab592f | |
parent | 3f04c94047ffde234c5f92e247b212bdecc67256 (diff) | |
download | qutebrowser-4da89139d1529112d0a1c881e6fbccbd84d584d7.tar.gz qutebrowser-4da89139d1529112d0a1c881e6fbccbd84d584d7.zip |
Disallow :spawn -u -d
(cherry picked from commit efe6719f4f354348e7db6f77dc22c319850de5d4)
-rw-r--r-- | qutebrowser/browser/commands.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 998baf385..5d1d8d5fb 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -1163,6 +1163,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: |