summaryrefslogtreecommitdiffstats
path: root/python/knot_resolver/client/commands/help.py
diff options
context:
space:
mode:
authorAleš Mrázek <ales.mrazek@nic.cz>2024-12-23 09:26:44 +0100
committerAleš Mrázek <ales.mrazek@nic.cz>2024-12-23 09:26:44 +0100
commitcde3cfdfd26cfefc19f44d454aa671230eb42d5f (patch)
treed17ed198260f2ec4e8be3f7ae1b52cf4f622516d /python/knot_resolver/client/commands/help.py
parentMerge !1643: kr_module_load(): clean up the code a bit (diff)
parentdistro: add bash completion to packages (diff)
downloadknot-resolver-cde3cfdfd26cfefc19f44d454aa671230eb42d5f.tar.xz
knot-resolver-cde3cfdfd26cfefc19f44d454aa671230eb42d5f.zip
Merge branch 'kresctl-tab-completion' into 'master'
kresctl: implement tab completion See merge request knot/knot-resolver!1622
Diffstat (limited to 'python/knot_resolver/client/commands/help.py')
-rw-r--r--python/knot_resolver/client/commands/help.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/knot_resolver/client/commands/help.py b/python/knot_resolver/client/commands/help.py
index 87306c2a..94942091 100644
--- a/python/knot_resolver/client/commands/help.py
+++ b/python/knot_resolver/client/commands/help.py
@@ -1,7 +1,7 @@
import argparse
from typing import List, Tuple, Type
-from knot_resolver.client.command import Command, CommandArgs, CompWords, register_command
+from knot_resolver.client.command import Command, CommandArgs, CompWords, comp_get_words, register_command
@register_command
@@ -14,7 +14,7 @@ class HelpCommand(Command):
@staticmethod
def completion(args: List[str], parser: argparse.ArgumentParser) -> CompWords:
- return {}
+ return comp_get_words(args, parser)
@staticmethod
def register_args_subparser(