aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2018-12-17 16:58:34 +0800
committerJiri Pirko <jiri@mellanox.com>2019-01-14 19:07:41 +0100
commit6e67aa89a746ff98d4b4f4fa3c778aa31d4d2c7f (patch)
treeb32e42349b81f5148d5449eda8e0ec424e6fdf9d
parent903950c7fcf28c32f4b62d9d1c07c0234e8378a2 (diff)
downloadlibteam-6e67aa89a746ff98d4b4f4fa3c778aa31d4d2c7f.tar.gz
teamnl: update help message
Update help message so people could know we support port name directly. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com>
-rw-r--r--utils/teamnl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/teamnl.c b/utils/teamnl.c
index e8de7e2..c53345d 100644
--- a/utils/teamnl.c
+++ b/utils/teamnl.c
@@ -521,7 +521,9 @@ static void print_help(const char *argv0) {
printf(
"%s [options] teamdevname command [command args]\n"
- "\t-h --help Show this help\n",
+ "\t-h --help Show this help\n"
+ "\t-p --port_name team slave port name\n"
+ "\t-a --array_index team option array index\n",
argv0);
printf("Commands:\n");
for (i = 0; i < CMD_TYPE_COUNT; i++) {