diff options
author | Aleš Mrázek <ales.mrazek@nic.cz> | 2024-12-23 09:26:44 +0100 |
---|---|---|
committer | Aleš Mrázek <ales.mrazek@nic.cz> | 2024-12-23 09:26:44 +0100 |
commit | cde3cfdfd26cfefc19f44d454aa671230eb42d5f (patch) | |
tree | d17ed198260f2ec4e8be3f7ae1b52cf4f622516d /python/knot_resolver/client/commands/help.py | |
parent | Merge !1643: kr_module_load(): clean up the code a bit (diff) | |
parent | distro: add bash completion to packages (diff) | |
download | knot-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.py | 4 |
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( |