Message ID | 20240205192923.3246-1-yedaya.ka@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | e33309752730dea0cfc6627a4e5f8a5899753c87 |
Delegated to: | Stephen Hemminger |
Headers | show |
Series | ip: Add missing -echo option to usage | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Not a local patch |
Hello: This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <stephen@networkplumber.org>: On Mon, 5 Feb 2024 21:29:23 +0200 you wrote: > 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> > > [...] Here is the summary with links: - ip: Add missing -echo option to usage https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=e33309752730 You are awesome, thank you!
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");
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> --- ip/ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)