summaryrefslogtreecommitdiffstats
path: root/vtysh
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-06-05 12:51:08 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-06-05 12:51:08 +0200
commit17f8c6520206ffb5937fa35acce8b9145e443166 (patch)
tree1fe4c12aec135580a04fa209817b2b9fc308b555 /vtysh
parentlib, pbrd, sharpd, vtysh: Add autocompletion for 'nexthop-group' (diff)
downloadfrr-17f8c6520206ffb5937fa35acce8b9145e443166.tar.xz
frr-17f8c6520206ffb5937fa35acce8b9145e443166.zip
pbrd: Allow autocompletion for pbr-map PBRMAP
Allow the end user to auto-complete the pbr-map name. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'vtysh')
-rw-r--r--vtysh/vtysh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 05ffeecf1..c3aeb27eb 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -1678,7 +1678,7 @@ DEFUNSH(VTYSH_RMAP, vtysh_route_map, vtysh_route_map_cmd,
}
DEFUNSH(VTYSH_PBRD, vtysh_pbr_map, vtysh_pbr_map_cmd,
- "pbr-map NAME seq (1-700)",
+ "pbr-map PBRMAP seq (1-700)",
"Create pbr-map or enter pbr-map command mode\n"
"The name of the PBR MAP\n"
"Sequence to insert to/delete from existing pbr-map entry\n"
@@ -1714,7 +1714,7 @@ DEFUNSH(VTYSH_BFDD, bfd_peer_enter, bfd_peer_enter_cmd,
}
#endif /* HAVE_BFDD */
-DEFSH(VTYSH_PBRD, vtysh_no_pbr_map_cmd, "no pbr-map WORD [seq (1-700)]",
+DEFSH(VTYSH_PBRD, vtysh_no_pbr_map_cmd, "no pbr-map PBRMAP [seq (1-700)]",
NO_STR
"Delete pbr-map\n"
"The name of the PBR MAP\n"