diff mbox

[iproute2] tipc: fix bearer get/set help synopsis

Message ID 1438934109-30885-1-git-send-email-richard.alpe@ericsson.com
State Accepted, archived
Delegated to: stephen hemminger
Headers show

Commit Message

Richard Alpe Aug. 7, 2015, 7:55 a.m. UTC
From: Richard Alpe <richard.alpe@ericsson.com>

One option is required for bearer set and bearer get.
---
 tipc/bearer.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Stephen Hemminger Aug. 10, 2015, 6:18 p.m. UTC | #1
On Fri, 7 Aug 2015 09:55:09 +0200
<richard.alpe@ericsson.com> wrote:

> From: Richard Alpe <richard.alpe@ericsson.com>
> 
> One option is required for bearer set and bearer get.

Applied, thanks

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/tipc/bearer.c b/tipc/bearer.c
index 33295f9..30b54d9 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();
 }