Skip to contentSkip to conversation

ip: Add missing -echo option to usage

PATCH Applied Yedaya Katsman 2 participants 2 messages Feb 5, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 ip/ip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ip/ip.c +1 -1
index 9e81248ff7f0..e51fa206d282 100644
@@ -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");
Signature · 1 line
2.34.1
#1 lore raw
This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Hello:

This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Quoted 10 lines · 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")

[...]

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!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html