diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-08-01 22:30:14 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-08-01 22:30:14 +0200 |
commit | e1cbb2ff67441cac4a486efdb3b5584bd701cba0 (patch) | |
tree | 559caaa0cdddccb492e833baef0fde4a0ca0c96e /lib/command_match.h | |
parent | lib: Fix OOB range parses, variable matches (diff) | |
download | frr-e1cbb2ff67441cac4a486efdb3b5584bd701cba0.tar.xz frr-e1cbb2ff67441cac4a486efdb3b5584bd701cba0.zip |
lib: Add partial completion support
Completions now include nodes that the input
partially matches as well as the children of
nodes those that the input exactly matches.
Also some minor cleanup and bugfixes.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_match.h')
-rw-r--r-- | lib/command_match.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_match.h b/lib/command_match.h index a102ba948..8ad7ab055 100644 --- a/lib/command_match.h +++ b/lib/command_match.h @@ -78,6 +78,6 @@ match_command (struct graph_node *, const char *, struct list **); * matched token. If this is empty, the input did not match any command. */ struct list * -match_command_complete (struct graph_node *, const char *, enum filter_type); +match_command_complete (struct graph_node *, const char *); #endif |