diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-06-13 12:18:36 +0300 | 
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-06-13 21:00:51 +0300 | 
| commit | 70dd370f5ae5a1cfccabb6bfe0d563d6312bc0ed (patch) | |
| tree | 65fccd2d2e1253e9c31027ca7b2bdaa326aa79d3 /zebra/zebra_vty.c | |
| parent | faa8c700e61ddbdb278c12787785df4eeecb23ff (diff) | |
*: Use autocomplete for route-maps under commands that require it
For example:
```
donatas-laptop# show bgp ipv4 unicast neighbors 127.0.0.2 advertised-routes route-map ?
  RMAP_NAME  Name of the route map
       testas2 testas
donatas-laptop(config)# router bgp
donatas-laptop(config-router)# address-family ipv4
donatas-laptop(config-router-af)# redistribute connected route-map ?
  RMAP_NAME  Pointer to route-map entries
       testas2 testas
donatas-laptop(config-router-af)# network 192.168.0.0/23 route-map ?
  RMAP_NAME  Name of the route map
       testas2 testas
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_vty.c')
| -rw-r--r-- | zebra/zebra_vty.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index 3756f8153c..be19b07d9d 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -3704,7 +3704,7 @@ static int zebra_ip_config(struct vty *vty)  DEFUN (ip_zebra_import_table_distance,         ip_zebra_import_table_distance_cmd, -       "ip import-table (1-252) [distance (1-255)] [route-map WORD]", +       "ip import-table (1-252) [distance (1-255)] [route-map RMAP_NAME]",         IP_STR         "import routes from non-main kernel table\n"         "kernel routing table id\n"  | 
