diff options
author | Michal Kubecek <mkubecek@suse.cz> | 2023-02-13 18:14:34 +0100 |
---|---|---|
committer | Michal Kubecek <mkubecek@suse.cz> | 2023-02-13 18:14:34 +0100 |
commit | e38f6db7e6e5238b713d24f3314ff60dacb28be3 (patch) | |
tree | 1e648e87c49f1118f0ccdabb53d5156bb9107c80 /ethtool.c | |
parent | 75f446cdb77aade3ec3e28df7cff87da0e73a5e8 (diff) | |
download | ethtool-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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", |