Skip to contentSkip to conversation

ip: remove non-existent amt subcommand from usage

PATCH Applied Yedaya Katsman 3 participants 3 messages Jan 27, 2024 – Feb 1, 2024

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

PATCH 1/1 ip: remove non-existent amt subcommand from usage

Commit 6e15d27aae94 ("ip: add AMT support") added "amt" to the list of "first level" commands list, which isn't correct, as it isn't present in the cmds list. remove it from the usage help.

Fixes 6e15d27aae94 ("ip: add AMT support")
---
 ip/ip.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
ip/ip.c +2 -2
index 860ff957..39bea69b 100644
@@ -61,8 +61,8 @@ static void usage(void)
 	fprintf(stderr,
 		"Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }\n"
 		"       ip [ -force ] -batch filename\n"
-		"where  OBJECT := { address | addrlabel | amt | fou | help | ila | ioam | l2tp |\n"
-		"                   link | macsec | maddress | monitor | mptcp | mroute | mrule |\n"
+		"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"
 		"                   token | tunnel | tuntap | vrf | xfrm }\n"
Signature · 1 line
2.34.1
#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 8 lines · On Sat, 27 Jan 2024 18:45:08 +0200 you wrote:

Commit 6e15d27aae94 ("ip: add AMT support") added "amt" to the list of "first level" commands list, which isn't correct, as it isn't present in the cmds list. remove it from the usage help.

Fixes 6e15d27aae94 ("ip: add AMT support")

[...]

Here is the summary with links:
- ip: remove non-existent amt subcommand from usage

    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=327741c6e8ed

You are awesome, thank you!

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