From dce33234c7e706265e8e6b0c883c441d9bb4b352 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 3 Dec 2020 22:21:43 -0500 Subject: [PATCH] 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 --- vtysh/vtysh_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vtysh/vtysh_main.c b/vtysh/vtysh_main.c index 1ca219a26c..6bb5ab1c8c 100644 --- a/vtysh/vtysh_main.c +++ b/vtysh/vtysh_main.c @@ -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"