node_cli: Give the user a hint as to the problem. 78/14978/4
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Tue, 25 Sep 2018 17:02:07 +0000 (10:02 -0700)
committerDave Barach <openvpp@barachs.net>
Fri, 5 Oct 2018 11:47:18 +0000 (11:47 +0000)
commit98afc711c517ee860a2259ae18d496abd3416ba6
tree0a037c3768d64df42dc3a2c46da6807678b03165
parent326b81e30e63a8296df51d85e6514356cd737225
node_cli: Give the user a hint as to the problem.

tested with:
DBGvpp# show node foo
show node: unknown node name: 'foo'

DBGvpp# show node error-drop
node error-drop, type internal, state active, index 543
node function variants:
    ...

DBGvpp# show node error-drop bar
show node: unknown input 'bar'

Change-Id: I896cee9e60028a189dce83666fa4d32a14983a7b
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
src/vlib/node_cli.c