]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ip: remove non-existent amt subcommand from usage
authorYedaya Katsman <yedaya.ka@gmail.com>
Sat, 27 Jan 2024 16:45:08 +0000 (18:45 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 1 Feb 2024 00:03:56 +0000 (16:03 -0800)
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>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ip.c

diff --git a/ip/ip.c b/ip/ip.c
index 860ff957c3b3d91bc48d177c71fe9a4001742988..39bea69b7137f76e0c895d8540967f494ab7cbab 100644 (file)
--- 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"