summaryrefslogtreecommitdiffstats
path: root/python/knot_resolver/client/commands/completion.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/knot_resolver/client/commands/completion.py')
-rw-r--r--python/knot_resolver/client/commands/completion.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/knot_resolver/client/commands/completion.py b/python/knot_resolver/client/commands/completion.py
index f3101c19..75f8e1eb 100644
--- a/python/knot_resolver/client/commands/completion.py
+++ b/python/knot_resolver/client/commands/completion.py
@@ -22,6 +22,8 @@ class CompletionCommand(Command):
super().__init__(namespace)
self.shell: Shells = namespace.shell
self.args: List[str] = namespace.args
+ if namespace.extra is not None:
+ self.args.append("--")
@staticmethod
def register_args_subparser(