Skip to content

Commit

Permalink
python: client: completion: config: remove COMP_NOSPACE for last node
Browse files Browse the repository at this point in the history
  • Loading branch information
alesmrazek committed Dec 20, 2024
1 parent fe7943f commit 289ed99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/knot_resolver/client/commands/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 289ed99

Please sign in to comment.