aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOnong Tayeng <otayeng@cisco.com>2020-09-11 15:38:20 +0530
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-09-16 10:32:48 +0000
commita14f367e27f9340da1e15d0a6dd871d7af2a695d (patch)
tree962e94bfee81a26542e0408434d7cfb090bc7421
parentc669272949f96b7e8a565c17d6a165094f8483bc (diff)
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 <eid>] show one eid-table [local|remote|eid <eid>] Type: fix Signed-off-by: Onong Tayeng <otayeng@cisco.com> Change-Id: Id39148db2ff291a7fe859830c1488b69ccd15c05 (cherry picked from commit b418c397dc8c870c6561ea1d7565067333db9df4)
-rw-r--r--src/vnet/lisp-cp/lisp_cli.c4
-rw-r--r--src/vnet/lisp-cp/one_cli.c4
2 files changed, 4 insertions, 4 deletions
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 <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 <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* */