Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
iproute2
Commits
ee262ed2
Commit
ee262ed2
authored
Aug 07, 2015
by
Richard Alpe
Committed by
Stephen Hemminger
Aug 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tipc: fix bearer get/set help synopsis
One option is required for bearer set and bearer get.
parent
531d5da4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tipc/bearer.c
tipc/bearer.c
+4
-4
No files found.
tipc/bearer.c
View file @
ee262ed2
...
...
@@ -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
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment