When I did the per-vlan stats iproute2 support, I left out a hunk from a previous version of the patch that was using a special subcommand "stats". Since the latest version uses the -s switch remove the help for the stats subcommand.
Fixes: 7abf5de677e32 ("bridge: vlan: add support to display per-vlan statistics") Signed-off-by: Nikolay Aleksandrov <niko...@cumulusnetworks.com> --- The commit is only in iproute2 net-next branch. bridge/vlan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/bridge/vlan.c b/bridge/vlan.c index 0b6c69077160..ebcdacee309b 100644 --- a/bridge/vlan.c +++ b/bridge/vlan.c @@ -24,7 +24,6 @@ static void usage(void) fprintf(stderr, "Usage: bridge vlan { add | del } vid VLAN_ID dev DEV [ pvid ] [ untagged ]\n"); fprintf(stderr, " [ self ] [ master ]\n"); fprintf(stderr, " bridge vlan { show } [ dev DEV ] [ vid VLAN_ID ]\n"); - fprintf(stderr, " bridge vlan { stats } [ dev DEV ] [ vid VLAN_ID ]\n"); exit(-1); } -- 2.1.4