summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOnong Tayeng <otayeng@cisco.com>2020-09-11 15:38:20 +0530
committerFlorin Coras <florin.coras@gmail.com>2020-09-11 15:06:23 +0000
commitb418c397dc8c870c6561ea1d7565067333db9df4 (patch)
tree93226e52a44c0c47decb3429cbd39f427ea6355b
parent504bcb7c29da6ab45656f54cda394cccb0d97dae (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
-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* */