aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYedaya Katsman <yedaya.ka@gmail.com>2024-01-27 18:45:08 +0200
committerStephen Hemminger <stephen@networkplumber.org>2024-01-31 16:03:56 -0800
commit327741c6e8ed32086074556b2729d467599791ea (patch)
tree3acaa91c38af0678e57a79609812ec20253291ad
parentddcc9329352a2158241cb21fa11df21ca23759d6 (diff)
downloadiproute2-327741c6e8ed32086074556b2729d467599791ea.tar.gz
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") Signed-off-by: Yedaya Katsman <yedaya.ka@gmail.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--ip/ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ip/ip.c b/ip/ip.c
index 860ff957c..39bea69b7 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"