summaryrefslogtreecommitdiffstats
path: root/lib/command_match.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-08-01 22:30:14 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-08-01 22:30:14 +0200
commite1cbb2ff67441cac4a486efdb3b5584bd701cba0 (patch)
tree559caaa0cdddccb492e833baef0fde4a0ca0c96e /lib/command_match.h
parentlib: Fix OOB range parses, variable matches (diff)
downloadfrr-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.h2
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