ethtool: Add --disable-netlink to help output
Subsystems (2)
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")
Reviewed-by Nimrod Oren <[email protected]>
Signed-off-by Gal Pressman <[email protected]>
--- ethtool.c | 1 + 1 file changed, 1 insertion(+)
ethtool.c +1 -0
@@ -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