diff --git a/python/knot_resolver/client/commands/config.py b/python/knot_resolver/client/commands/config.py index 69f7edfa2..d13d24d95 100644 --- a/python/knot_resolver/client/commands/config.py +++ b/python/knot_resolver/client/commands/config.py @@ -148,6 +148,7 @@ def completion(args: List[str], parser: argparse.ArgumentParser) -> CompWords: prefix += f"/{node}" is_list = True continue + del words[COMP_NOSPACE] break if is_list and node.isnumeric(): prefix += f"/{node}"