Skip to contentSkip to conversation

ip: Add missing stats command to usage

PATCH Applied Yedaya Katsman 3 participants 3 messages Feb 3, 2024 – Feb 5, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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"")
---
 ip/ip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ip/ip.c +1 -1
index 39bea69b7137..9e81248ff7f0 100644
@@ -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"
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Yedaya Katsman

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"")
#2 lore raw
In reply to Yedaya Katsman
This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Hello:

This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Quoted 9 lines · On Sat, 3 Feb 2024 22:03:05 +0200 you wrote:

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"")

[...]

Here is the summary with links:
- ip: Add missing stats command to usage

    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=32bb7f8f99d2

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html