aboutsummaryrefslogtreecommitdiffstats
path: root/ethtool.c
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2023-02-13 18:14:34 +0100
committerMichal Kubecek <mkubecek@suse.cz>2023-02-13 18:14:34 +0100
commite38f6db7e6e5238b713d24f3314ff60dacb28be3 (patch)
tree1e648e87c49f1118f0ccdabb53d5156bb9107c80 /ethtool.c
parent75f446cdb77aade3ec3e28df7cff87da0e73a5e8 (diff)
downloadethtool-e38f6db7e6e5238b713d24f3314ff60dacb28be3.tar.gz
help: document --src argument also in help text
New --src argument of -a and -S subcommands is documented only in the manual page, add it also to "ethtool --help" output. Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Diffstat (limited to 'ethtool.c')
-rw-r--r--ethtool.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ethtool.c b/ethtool.c
index 74dfc9d..02b9637 100644
--- a/ethtool.c
+++ b/ethtool.c
@@ -5682,7 +5682,8 @@ static const struct option args[] = {
.json = true,
.func = do_gpause,
.nlfunc = nl_gpause,
- .help = "Show pause options"
+ .help = "Show pause options",
+ .xhelp = " [ --src aggregate | emac | pmac ]\n"
},
{
.opts = "-A|--pause",
@@ -5818,6 +5819,7 @@ static const struct option args[] = {
.nlfunc = nl_gstats,
.help = "Show adapter statistics",
.xhelp = " [ --all-groups | --groups [eth-phy] [eth-mac] [eth-ctrl] [rmon] ]\n"
+ " [ --src aggregate | emac | pmac ]\n"
},
{
.opts = "--phy-statistics",