diff mbox series

ip: remove non-existent amt subcommand from usage

Message ID 20240127164508.14394-1-yedaya.ka@gmail.com (mailing list archive)
State Accepted
Commit 327741c6e8ed32086074556b2729d467599791ea
Delegated to: Stephen Hemminger
Headers show
Series ip: remove non-existent amt subcommand from usage | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Yedaya Katsman Jan. 27, 2024, 4:45 p.m. UTC
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")
Signed-off-by: Yedaya Katsman <yedaya.ka@gmail.com>
---
 ip/ip.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jiri Pirko Jan. 30, 2024, 11:41 a.m. UTC | #1
Sat, Jan 27, 2024 at 05:45:08PM CET, yedaya.ka@gmail.com 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")
>Signed-off-by: Yedaya Katsman <yedaya.ka@gmail.com>

Reviewed-by: Jiri Pirko <jiri@nvidia.com>
patchwork-bot+netdevbpf@kernel.org Feb. 1, 2024, 12:10 a.m. UTC | #2
Hello:

This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:

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")
> Signed-off-by: Yedaya Katsman <yedaya.ka@gmail.com>
> 
> [...]

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!
diff mbox series

Patch

diff --git a/ip/ip.c b/ip/ip.c
index 860ff957..39bea69b 100644
--- a/ip/ip.c
+++ b/ip/ip.c
@@ -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"