ok benno@

Denis Fondras(de...@openbsd.org) on 2018.10.24 08:26:59 +0200:
> This may have been broken for quite some time...
> 
> Fix usage message for "show ip bgp in/out" and add missing "neighbor" 
> argument.
> 
> Index: bgplg.h
> ===================================================================
> RCS file: /cvs/src/usr.bin/bgplg/bgplg.h,v
> retrieving revision 1.14
> diff -u -p -r1.14 bgplg.h
> --- bgplg.h   2 Feb 2018 13:46:17 -0000       1.14
> +++ bgplg.h   24 Oct 2018 06:20:37 -0000
> @@ -59,10 +59,10 @@ struct cmd {
>           { BGPCTL, "show","ip", "bgp", "detail", NULL } },           \
>       { "show ip bgp detail as", 1, 1, "<asnum>",               \
>           { BGPCTL, "show","ip", "bgp", "detail", "as", NULL } },     \
> -     { "show ip bgp in", 1, 1, "<prefix>",                     \
> -         { BGPCTL, "show","ip", "bgp", "in", NULL } },               \
> -     { "show ip bgp out", 1, 1, "<prefix>",                    \
> -         { BGPCTL, "show","ip", "bgp", "out", NULL } },              \
> +     { "show ip bgp in", 1, 1, "<neighbor>",                   \
> +         { BGPCTL, "show","ip", "bgp", "in", "neighbor", NULL } },   \
> +     { "show ip bgp out", 1, 1, "<neighbor>",                  \
> +         { BGPCTL, "show","ip", "bgp", "out", "neighbor", NULL } },  \
>       { "show ip bgp memory", 0, 0, NULL,                             \
>           { BGPCTL, "show", "ip", "bgp", "memory", NULL } },          \
>       { "show neighbor", 0, 1, NULL,                                  \
> 

Reply via email to