]> git.proxmox.com Git - mirror_frr.git/commit - lib/command.h
lib: cli: autocomplete variables
authorDavid Lamparter <equinox@opensourcerouting.org>
Sat, 19 Nov 2016 10:57:08 +0000 (11:57 +0100)
committerQuentin Young <qlyoung@users.noreply.github.com>
Mon, 15 May 2017 14:27:43 +0000 (10:27 -0400)
commit70d44c5cd4f28f9d08a24f519d859885d92e2a13
treec67e6c907a31487ca96b27e53a1f571c26f31bf9
parentc09c46ae3c2702b3553e558f723e6de4fea3e05d
lib: cli: autocomplete variables

Shows known values in the appropriate naming domain when the user hits
<?> or <Tab>.  This patch only works in the telnet CLI, the next patch
adds vtysh support.

Included completions:
- interface names
- route-map names
- prefix-list names

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/command.c
lib/command.h
lib/command_graph.h
lib/if.c
lib/plist.c
lib/routemap.c
lib/vty.c