]> git.proxmox.com Git - mirror_frr.git/commit - lib/command.c
lib, vtysh: pretty-print variable autocompletions
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 12 Jul 2017 18:40:18 +0000 (14:40 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 13 Jul 2017 14:59:13 +0000 (10:59 -0400)
commit1a0f614dd29f8666647e005c63ae00b3638234d4
tree27ec799a1ff07ef27855848fad388a2e7613d6e6
parent4c25598b4e5e33915afdf829fb38b8565dd1f2f9
lib, vtysh: pretty-print variable autocompletions

Pretty-prints variable autocompletions by breaking them up into multiple
lines, indenting them consistently and respecting the column width of
the terminal.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/command.c
lib/command.h
lib/vty.c
vtysh/vtysh.c