aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYedaya Katsman <yedaya.ka@gmail.com>2024-02-05 21:29:23 +0200
committerStephen Hemminger <stephen@networkplumber.org>2024-02-05 14:12:11 -0800
commite33309752730dea0cfc6627a4e5f8a5899753c87 (patch)
tree8677e6233d978edd1f9403d2e2e10bc6518a712d
parent32bb7f8f99d27edd66071dbda4a58b3f27c911fd (diff)
downloadiproute2-next-e33309752730dea0cfc6627a4e5f8a5899753c87.tar.gz
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@gmail.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--ip/ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ip/ip.c b/ip/ip.c
index 9e81248ff..e51fa206d 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");