diff options
author | Richard Alpe <richard.alpe@ericsson.com> | 2015-08-07 09:55:09 +0200 |
---|---|---|
committer | Stephen Hemminger <shemming@brocade.com> | 2015-08-10 11:18:01 -0700 |
commit | ee262ed2ada76d1219a9f6cd58e3c38112f464a0 (patch) | |
tree | 6d65f3ef63dc09b388f2c570285683a85778c697 /tipc | |
parent | 531d5da413a829d4795b66c62ff6be72114d5363 (diff) |
tipc: fix bearer get/set help synopsis
One option is required for bearer set and bearer get.
Diffstat (limited to 'tipc')
-rw-r--r-- | tipc/bearer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tipc/bearer.c b/tipc/bearer.c index 33295f9a..30b54d9f 100644 --- a/tipc/bearer.c +++ b/tipc/bearer.c @@ -412,7 +412,7 @@ static int cmd_bearer_disable(struct nlmsghdr *nlh, const struct cmd *cmd, static void cmd_bearer_set_help(struct cmdl *cmdl) { - fprintf(stderr, "Usage: %s bearer set [OPTIONS] media MEDIA ARGS...\n", + fprintf(stderr, "Usage: %s bearer set OPTION media MEDIA ARGS...\n", cmdl->argv[0]); _print_bearer_opts(); _print_bearer_media(); @@ -420,7 +420,7 @@ static void cmd_bearer_set_help(struct cmdl *cmdl) static void cmd_bearer_set_udp_help(struct cmdl *cmdl) { - fprintf(stderr, "Usage: %s bearer set [OPTIONS] media udp name NAME\n\n", + fprintf(stderr, "Usage: %s bearer set OPTION media udp name NAME\n\n", cmdl->argv[0]); _print_bearer_opts(); } @@ -528,7 +528,7 @@ static int cmd_bearer_set(struct nlmsghdr *nlh, const struct cmd *cmd, static void cmd_bearer_get_help(struct cmdl *cmdl) { - fprintf(stderr, "Usage: %s bearer get [OPTIONS] media MEDIA ARGS...\n", + fprintf(stderr, "Usage: %s bearer get OPTION media MEDIA ARGS...\n", cmdl->argv[0]); _print_bearer_opts(); _print_bearer_media(); @@ -536,7 +536,7 @@ static void cmd_bearer_get_help(struct cmdl *cmdl) static void cmd_bearer_get_udp_help(struct cmdl *cmdl) { - fprintf(stderr, "Usage: %s bearer get [OPTIONS] media udp name NAME\n\n", + fprintf(stderr, "Usage: %s bearer get OPTION media udp name NAME\n\n", cmdl->argv[0]); _print_bearer_opts(); } |