lisp: fix help msg of show eid-table command 59/28859/2
authorOnong Tayeng <otayeng@cisco.com>
Fri, 11 Sep 2020 10:08:20 +0000 (15:38 +0530)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 16 Sep 2020 10:32:48 +0000 (10:32 +0000)
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)

src/vnet/lisp-cp/lisp_cli.c
src/vnet/lisp-cp/one_cli.c

index 817fb50..93422fe 100644 (file)
@@ -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* */
index e44632f..70de0c1 100644 (file)
@@ -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* */