From: Yedaya Katsman Date: Sat, 3 Feb 2024 20:03:05 +0000 (+0200) Subject: ip: Add missing stats command to usage X-Git-Tag: v6.8.0~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32bb7f8f99d27edd66071dbda4a58b3f27c911fd;p=thirdparty%2Fiproute2.git ip: Add missing stats command to usage The stats command was added in 54d82b0699a0 ("ip: Add a new family of commands, "stats""), but wasn't included in the subcommand list in the help usage. Add it in the right position alphabetically. Fixes: 54d82b0699a0 ("ip: Add a new family of commands, "stats"") Signed-off-by: Yedaya Katsman Reviewed-by: Petr Machata Signed-off-by: Stephen Hemminger --- diff --git a/ip/ip.c b/ip/ip.c index 39bea69b7..9e81248ff 100644 --- a/ip/ip.c +++ b/ip/ip.c @@ -64,7 +64,7 @@ static void usage(void) "where OBJECT := { address | addrlabel | fou | help | ila | ioam | l2tp | link |\n" " macsec | maddress | monitor | mptcp | mroute | mrule |\n" " neighbor | neighbour | netconf | netns | nexthop | ntable |\n" - " ntbl | route | rule | sr | tap | tcpmetrics |\n" + " ntbl | route | rule | sr | stats | tap | tcpmetrics |\n" " token | tunnel | tuntap | vrf | xfrm }\n" " OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |\n" " -h[uman-readable] | -iec | -j[son] | -p[retty] |\n"