]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
bridge: vlan: remove wrong stats help
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Wed, 12 Oct 2016 13:02:28 +0000 (15:02 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 17 Oct 2016 12:22:47 +0000 (05:22 -0700)
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 <nikolay@cumulusnetworks.com>
bridge/vlan.c

index 0b6c69077160a4aacd21bbae4b583c837ed00d04..ebcdacee309bc96c42b50282a173b855d097f6e7 100644 (file)
@@ -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);
 }