Thread (1 message) 1 message, 1 author, 2021-08-27

Re: [PATCH iproute2-next 10/17] bridge: vlan: add global mcast_last_member_interval option

From: David Ahern <hidden>
Date: 2021-08-27 18:21:06

On 8/27/21 10:39 AM, Nikolay Aleksandrov wrote:

------------------------------------------------------------------------
*From:* David Ahern [off-list ref]
*Sent:* Friday, 27 August 2021, 20:15
*To:* Nikolay Aleksandrov; netdev@vger.kernel.org
*Cc:* Roopa Prabhu; Joachim Wiberg; Nikolay Aleksandrov
*Subject:* Re: [PATCH iproute2-next 10/17] bridge: vlan: add global
mcast_last_member_interval option

On 8/26/21 6:05 AM, Nikolay Aleksandrov wrote:
quoted
@@ -42,6 +42,7 @@ static void usage(void)
               "                                                      [ mcast_igmp_version IGMP_VERSION ]\n"
               "                                                      [ mcast_mld_version MLD_VERSION ]\n"
               "                                                      [ mcast_last_member_count LAST_MEMBER_COUNT ]\n"
+             "                                                      [ mcast_last_member_interval LAST_MEMBER_INTERVAL ]\n"
               "                                                      [ mcast_startup_query_count STARTUP_QUERY_COUNT ]\n"
               "       bridge vlan global { show } [ dev DEV ] [ vid VLAN_ID ]\n");
       exit(-1);
line lengths are too long. The LAST_MEMBER_INTERVAL is at 107 characters
wide just in what is displayed to the user. Let's keep those under 100.
quoted
quoted
To be clear do you want me to break the help line or use a format string
to print it?

Something like this:

"       bridge vlan global { set } vid VLAN_ID dev DEV\n"
"                      [ mcast_snooping MULTICAST_SNOOPING ]\n"
"                      [ mcast_igmp_version IGMP_VERSION ]\n"
"                      [ mcast_mld_version MLD_VERSION ]\n"
"                      [ mcast_last_member_count LAST_MEMBER_COUNT ]\n"

(email line lengths are too short forcing wrapping too early, but that
is the intent with line lengths in the 80-90 range
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help