From: Nikolay Aleksandrov Date: Wed, 12 Oct 2016 13:02:28 +0000 (+0200) Subject: bridge: vlan: remove wrong stats help X-Git-Tag: v4.9.0~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=660afec25f4150df9a3246ff5798244fc7ed2209;p=thirdparty%2Fiproute2.git bridge: vlan: remove wrong stats help 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 --- diff --git a/bridge/vlan.c b/bridge/vlan.c index 0b6c69077..ebcdacee3 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); }