summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorHuawei LI <lihuawei_zzu@163.com>2022-11-05 02:50:53 +0800
committerNeale Ranns <neale@graphiant.com>2022-11-08 05:43:06 +0000
commit1f4b6518da19852a6e04f6dedc99224bc2963e1f (patch)
tree325f9390897056e2d8a7cf736509c3369c3ef89f /src/vnet
parent66b735ac97a7992db3b6c7ed0b73d677200fe92a (diff)
policer: improvement show policer cli.
cli show policer's help info is not consistent with it's arguments. Type: improvement Signed-off-by: Huawei LI <lihuawei_zzu@163.com> Change-Id: I8332fe97ba343e98511db9ff1bb6afd6f3c657cd
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/policer/policer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/policer/policer.c b/src/vnet/policer/policer.c
index 0513563e1ec..9dd50b83d24 100644
--- a/src/vnet/policer/policer.c
+++ b/src/vnet/policer/policer.c
@@ -778,9 +778,9 @@ show_policer_command_fn (vlib_main_t * vm,
/* *INDENT-OFF* */
VLIB_CLI_COMMAND (show_policer_command, static) = {
- .path = "show policer",
- .short_help = "show policer [name]",
- .function = show_policer_command_fn,
+ .path = "show policer",
+ .short_help = "show policer [name <name>]",
+ .function = show_policer_command_fn,
};
/* *INDENT-ON* */