[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240205192923.3246-1-yedaya.ka@gmail.com>
Date: Mon, 5 Feb 2024 21:29:23 +0200
From: Yedaya Katsman <yedaya.ka@...il.com>
To: netdev@...r.kernel.org
Cc: Hangbin Liu <liuhangbin@...il.com>,
Stephen Hemminger <stephen@...workplumber.org>,
Yedaya Katsman <yedaya.ka@...il.com>
Subject: [PATCH] ip: Add missing -echo option to usage
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@...il.com>
---
ip/ip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ip/ip.c b/ip/ip.c
index 9e81248ff7f0..e51fa206d282 100644
--- 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");
--
2.34.1
Powered by blists - more mailing lists