diff --git a/doc/user/pbr.rst b/doc/user/pbr.rst index 83abfa220eee..7a4effd3fcbc 100644 --- a/doc/user/pbr.rst +++ b/doc/user/pbr.rst @@ -267,7 +267,7 @@ specified in the rule are also applied to the packet. this action, so this field will be ignored unless another dataplane provider is used. -.. clicmd:: show pbr map [NAME] [detail|json] +.. clicmd:: show pbr map [NAME] [detail] [json] Display pbr maps either all or by ``NAME``. If ``detail`` is set, it will give information about each rule's unique internal ID and some extra diff --git a/pbrd/pbr_vty.c b/pbrd/pbr_vty.c index 582ffac9b24b..9589e5be2337 100644 --- a/pbrd/pbr_vty.c +++ b/pbrd/pbr_vty.c @@ -1818,7 +1818,7 @@ static void vty_json_pbr_map(json_object *j, struct vty *vty, DEFPY (show_pbr_map, show_pbr_map_cmd, - "show pbr map [NAME$name] [detail$detail|json$json]", + "show pbr map [NAME$name] [detail$detail] [json$json]", SHOW_STR PBR_STR "PBR Map\n"