aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYedaya Katsman <yedaya.ka@gmail.com>2024-02-03 22:03:05 +0200
committerStephen Hemminger <stephen@networkplumber.org>2024-02-05 08:53:36 -0800
commit32bb7f8f99d27edd66071dbda4a58b3f27c911fd (patch)
treeb3e0f2b07bd1da71ceb21758dc80a3cc265e56b4
parent327741c6e8ed32086074556b2729d467599791ea (diff)
downloadiproute2-32bb7f8f99d27edd66071dbda4a58b3f27c911fd.tar.gz
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 <yedaya.ka@gmail.com> Reviewed-by: Petr Machata <me@pmachata.org> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--ip/ip.c2
1 files changed, 1 insertions, 1 deletions
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"