summaryrefslogtreecommitdiffstats
path: root/python/knot_resolver/client/commands/schema.py
diff options
context:
space:
mode:
authorAleš Mrázek <ales.mrazek@nic.cz>2024-12-20 00:33:49 +0100
committerAleš Mrázek <ales.mrazek@nic.cz>2024-12-20 22:24:22 +0100
commitfabf8dd8de3f1707dc167d69bc36ce92cc7047d3 (patch)
treed34034551544786a46f70f4986463816b9c3b6a3 /python/knot_resolver/client/commands/schema.py
parentkresctl: tab-completion: stop appending space after one config layer is compl... (diff)
downloadknot-resolver-fabf8dd8de3f1707dc167d69bc36ce92cc7047d3.tar.xz
knot-resolver-fabf8dd8de3f1707dc167d69bc36ce92cc7047d3.zip
python: client: completion: not to sugest already used args and alternatives to them
Diffstat (limited to 'python/knot_resolver/client/commands/schema.py')
-rw-r--r--python/knot_resolver/client/commands/schema.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/knot_resolver/client/commands/schema.py b/python/knot_resolver/client/commands/schema.py
index fdb65bde..c5e4dfc4 100644
--- a/python/knot_resolver/client/commands/schema.py
+++ b/python/knot_resolver/client/commands/schema.py
@@ -35,7 +35,7 @@ class SchemaCommand(Command):
@staticmethod
def completion(args: List[str], parser: argparse.ArgumentParser) -> CompWords:
- return comp_get_words(args, parser._actions) # noqa: SLF001
+ return comp_get_words(args, parser)
def run(self, args: CommandArgs) -> None:
if self.live: