Skip to contentSkip to conversation

ethtool: Add --disable-netlink to help output

PATCH New Gal Pressman 1 participant 1 message May 11

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

PATCH 1/1 ethtool: Add --disable-netlink to help output

The --disable-netlink flag is documented in the man page but missing from the usage output shown by ethtool -h.

Add it to the FLAGS section.

Fixes 6e3ac505bcc7 ("Add runtime support for disabling netlink")
---
 ethtool.c | 1 +
 1 file changed, 1 insertion(+)
ethtool.c +1 -0
index 2444d858b125..97c06b85bf47 100644
@@ -6416,6 +6416,7 @@ static int show_usage(struct cmd_context *ctx __maybe_unused)
 	fprintf(stdout, "\n");
 	fprintf(stdout, "FLAGS:\n");
 	fprintf(stdout, "	--debug MASK	turn on debugging messages\n");
+	fprintf(stdout, "	--disable-netlink	do not use netlink, fall back to ioctl interface\n");
 	fprintf(stdout, "	-j|--json	enable JSON output format (not supported by all commands)\n");
 	fprintf(stdout, "	-I|--include-statistics		request device statistics related to the command (not supported by all commands)\n");
 
Signature · 1 line
2.52.0