diff --git a/qutebrowser/commands/command.py b/qutebrowser/commands/command.py index 2191769bb..4d0d4af92 100644 --- a/qutebrowser/commands/command.py +++ b/qutebrowser/commands/command.py @@ -298,6 +298,8 @@ class Command: name = argparser.arg_name(param.name) arg_info = self.get_arg_info(param) + assert not arg_info.value, name + if arg_info.flag is not None: shortname = arg_info.flag else: