Skip to contentSkip to conversation

man: bridge: update bridge link show

PATCH Applied Nicolas Escande 4 participants 5 messages Aug 4, 2023 – Aug 10, 2023

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

PATCH v2 1/1 man: bridge: update bridge link show

Add missing man page documentation for bridge link show features added in 13a5d8fcb41b (bridge: link: allow filtering on bridge name) and 64108901b737 (bridge: Add support for setting bridge port attributes)

---
 man/man8/bridge.8 | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)
man/man8/bridge.8 +11 -3
index e0552819..5bf14bab 100644
@@ -66,7 +66,9 @@ bridge \- show / manipulate bridge addresses and devices
 .ti -8
 .BR "bridge link" " [ " show " ] [ "
 .B dev
-.IR DEV " ]"
+.IR DEV " ] ["
+.B master
+.IR DEVICE " ]"
 
 .ti -8
 .BR "bridge fdb" " { " add " | " append " | " del " | " replace " } "
@@ -661,9 +663,15 @@ display current time when using monitor option.
 
 .SS bridge link show - list ports configuration for all bridges.
 
-This command displays port configuration and flags for all bridges.
+This command displays ports configuration and flags for all bridges by default.
+
+.TP
+.BI dev " DEV"
+only display the specific bridge port named DEV.
 
-To display port configuration and flags for a specific bridge, use the
+.TP
+.BI master " DEVICE"
+only display ports of the bridge named DEVICE. This is similar to
 "ip link show master <bridge_device>" command.
 
 .SH bridge fdb - forwarding database management
Signature · 1 line
2.41.0
Reviewed-by on v2 1/1
#1 lore raw
Quoted 3 lines · Nicolas Escande

Add missing man page documentation for bridge link show features added in 13a5d8fcb41b (bridge: link: allow filtering on bridge name) and 64108901b737 (bridge: Add support for setting bridge port attributes)

FYI, the convention is to refer to a commit in the following format:

13a5d8fcb41b ("bridge: link: allow filtering on bridge name")

See [1], near the end of the section.

[1] https://www.kernel.org/doc/html/latest/process/submitting-patches.html#describe-your-changes

Quoted 1 line

Thanks

#2 lore raw
Quoted 11 lines · Ido Schimmel
Quoted 3 lines · Nicolas Escande

Add missing man page documentation for bridge link show features added in 13a5d8fcb41b (bridge: link: allow filtering on bridge name) and 64108901b737 (bridge: Add support for setting bridge port attributes)

FYI, the convention is to refer to a commit in the following format:

13a5d8fcb41b ("bridge: link: allow filtering on bridge name")

See [1], near the end of the section.

Quoted 7 lines

[1] https://www.kernel.org/doc/html/latest/process/submitting-patches.html#describe-your-changes

Quoted 1 line

Thanks

Damn, I did read it but I missed the double quotes indeed. If needed I can respin it.

#3 lore raw
In reply to Ido Schimmel
Quoted 9 lines · On Tue, 8 Aug 2023 14:36:34 +0300 Ido Schimmel <[email protected]> wrote:
Quoted 3 lines · Nicolas Escande

Add missing man page documentation for bridge link show features added in 13a5d8fcb41b (bridge: link: allow filtering on bridge name) and 64108901b737 (bridge: Add support for setting bridge port attributes)

FYI, the convention is to refer to a commit in the following format:

13a5d8fcb41b ("bridge: link: allow filtering on bridge name")

If you use checkpatch it will tell you that correct format is:
commit 13a5d8fcb41b ("bridge: link: allow filtering on bridge name")

Fixed it during merge

#4 lore raw
In reply to Nicolas Escande
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 8 lines · On Fri, 4 Aug 2023 18:49:52 +0200 you wrote:

Add missing man page documentation for bridge link show features added in 13a5d8fcb41b (bridge: link: allow filtering on bridge name) and 64108901b737 (bridge: Add support for setting bridge port attributes)

---
 man/man8/bridge.8 | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Here is the summary with links:
- [iproute2,v2] man: bridge: update bridge link show

    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=cb93753e1042

You are awesome, thank you!

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