diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-08-01 20:30:14 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-08-01 20:30:14 +0000 |
| commit | e1cbb2ff67441cac4a486efdb3b5584bd701cba0 (patch) | |
| tree | 559caaa0cdddccb492e833baef0fde4a0ca0c96e /lib/command_match.h | |
| parent | e648e61a747c6c13ccea7d97066dfb07d4461d96 (diff) | |
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 a102ba9484..8ad7ab0556 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 |
