From: Onong Tayeng Date: Fri, 11 Sep 2020 10:08:20 +0000 (+0530) Subject: lisp: fix help msg of show eid-table command X-Git-Tag: v20.09-rc2~9 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=a14f367e27f9340da1e15d0a6dd871d7af2a695d;p=vpp.git lisp: fix help msg of show eid-table command The lisp|one show eid-table command's help msg does not display the available options. This patch fixes that. show lisp eid-table [local|remote|eid ] show one eid-table [local|remote|eid ] Type: fix Signed-off-by: Onong Tayeng Change-Id: Id39148db2ff291a7fe859830c1488b69ccd15c05 (cherry picked from commit b418c397dc8c870c6561ea1d7565067333db9df4) --- diff --git a/src/vnet/lisp-cp/lisp_cli.c b/src/vnet/lisp-cp/lisp_cli.c index 817fb50156b..93422fe2de7 100644 --- a/src/vnet/lisp-cp/lisp_cli.c +++ b/src/vnet/lisp-cp/lisp_cli.c @@ -887,7 +887,7 @@ done: /* *INDENT-OFF* */ VLIB_CLI_COMMAND (lisp_cp_show_eid_table_command) = { .path = "show lisp eid-table", - .short_help = "Shows EID table", + .short_help = "show lisp eid-table [local|remote|eid ]", .function = lisp_show_eid_table_command_fn, }; /* *INDENT-ON* */ @@ -1128,7 +1128,7 @@ done: /* *INDENT-OFF* */ VLIB_CLI_COMMAND (lisp_show_eid_table_map_command) = { .path = "show lisp eid-table map", - .short_help = "show lisp eid-table l2|l3", + .short_help = "show lisp eid-table map l2|l3", .function = lisp_show_eid_table_map_command_fn, }; /* *INDENT-ON* */ diff --git a/src/vnet/lisp-cp/one_cli.c b/src/vnet/lisp-cp/one_cli.c index e44632f9760..70de0c1a554 100644 --- a/src/vnet/lisp-cp/one_cli.c +++ b/src/vnet/lisp-cp/one_cli.c @@ -1203,7 +1203,7 @@ done: /* *INDENT-OFF* */ VLIB_CLI_COMMAND (one_cp_show_eid_table_command) = { .path = "show one eid-table", - .short_help = "Shows EID table", + .short_help = "show one eid-table [local|remote|eid ]", .function = lisp_show_eid_table_command_fn, }; /* *INDENT-ON* */ @@ -1670,7 +1670,7 @@ done: /* *INDENT-OFF* */ VLIB_CLI_COMMAND (one_show_eid_table_map_command) = { .path = "show one eid-table map", - .short_help = "show one eid-table l2|l3", + .short_help = "show one eid-table map l2|l3", .function = lisp_show_eid_table_map_command_fn, }; /* *INDENT-ON* */