]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ip: Add missing -echo option to usage
authorYedaya Katsman <yedaya.ka@gmail.com>
Mon, 5 Feb 2024 19:29:23 +0000 (21:29 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 5 Feb 2024 22:12:11 +0000 (14:12 -0800)
In commit b264b4c6568c ("ip: add NLM_F_ECHO support") the "-echo" option
was added, but not to the options in the usage. Add it.

Note there doesn't seem to be any praticular order for the options here,
so it's placed kind of randomly.

Fixes: b264b4c6568c ("ip: add NLM_F_ECHO support")
Signed-off-by: Yedaya Katsman <yedaya.ka@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ip.c

diff --git a/ip/ip.c b/ip/ip.c
index 9e81248ff7f0941f807bffed4ba237b3c0f85ef5..e51fa206d282c15c234233ae976b5237eb715c83 100644 (file)
--- a/ip/ip.c
+++ b/ip/ip.c
@@ -70,7 +70,7 @@ static void usage(void)
                "                    -h[uman-readable] | -iec | -j[son] | -p[retty] |\n"
                "                    -f[amily] { inet | inet6 | mpls | bridge | link } |\n"
                "                    -4 | -6 | -M | -B | -0 |\n"
-               "                    -l[oops] { maximum-addr-flush-attempts } | -br[ief] |\n"
+               "                    -l[oops] { maximum-addr-flush-attempts } | -echo | -br[ief] |\n"
                "                    -o[neline] | -t[imestamp] | -ts[hort] | -b[atch] [filename] |\n"
                "                    -rc[vbuf] [size] | -n[etns] name | -N[umeric] | -a[ll] |\n"
                "                    -c[olor]}\n");