vtysh: Display version w/ vtysh --help

Add a bit of useful data to know what version of FRR we
are playing with in this vtysh instance.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2020-12-03 22:21:43 -05:00
parent d3e79428d7
commit dce33234c7

View File

@ -153,7 +153,7 @@ static void usage(int status)
progname);
else
printf("Usage : %s [OPTION...]\n\n"
"Integrated shell for FRR. \n\n"
"Integrated shell for FRR (version " FRR_VERSION "). \n\n"
"-b, --boot Execute boot startup configuration\n"
"-c, --command Execute argument as command\n"
"-d, --daemon Connect only to the specified daemon\n"