From: Yedaya Katsman Date: Sat, 27 Jan 2024 16:45:08 +0000 (+0200) Subject: ip: remove non-existent amt subcommand from usage X-Git-Tag: v6.8.0~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=327741c6e8ed32086074556b2729d467599791ea;p=thirdparty%2Fiproute2.git 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 Reviewed-by: Jiri Pirko Signed-off-by: Stephen Hemminger --- 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"