]> git.puffer.fish Git - matthieu/frr.git/commit
lib: Implement hidden and deprecated commands
authorQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 10 Nov 2016 23:17:07 +0000 (23:17 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 10 Nov 2016 23:17:07 +0000 (23:17 +0000)
commitce882f81683f6b3547d4bad17aeee8ce7b5bdda1
tree409d95cec6499982694a35be6c7acb82c7194b24
parent4c4ff4c13693ff2beb18931577423edcdc4a0403
lib: Implement hidden and deprecated commands

Each token now knows whether it is part of a hidden
or deprecated command. Command completion logic hides
such tokens when generating completions. Command
matching logic works as before and will still match on
hidden and deprecated commands.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/command.c
lib/command.h
lib/command_match.c
lib/command_parse.y