teamnl: update help message
diff mbox series

Message ID 20181217085834.27366-1-liuhangbin@gmail.com
State New
Headers show
Series
  • teamnl: update help message
Related show

Commit Message

Hangbin Liu Dec. 17, 2018, 8:58 a.m. UTC
Update help message so people could know we support port name directly.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
---
 utils/teamnl.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Jiri Pirko Jan. 14, 2019, 6:08 p.m. UTC | #1
Mon, Dec 17, 2018 at 09:58:34AM CET, liuhangbin@gmail.com wrote:
>Update help message so people could know we support port name directly.
>
>Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>

applied, thanks.

Patch
diff mbox series

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++) {