Commit 5c2ea5b8 authored by Phil Sutter's avatar Phil Sutter Committed by Stephen Hemminger

iplink: fix help text syntax

Get rid of extraneous closing brackets and while here, merge the double
netns parameter.
Signed-off-by: default avatarPhil Sutter <phil@nwl.cc>
parent 27ff1a56
...@@ -70,17 +70,16 @@ void iplink_usage(void) ...@@ -70,17 +70,16 @@ void iplink_usage(void)
fprintf(stderr, " [ address LLADDR ]\n"); fprintf(stderr, " [ address LLADDR ]\n");
fprintf(stderr, " [ broadcast LLADDR ]\n"); fprintf(stderr, " [ broadcast LLADDR ]\n");
fprintf(stderr, " [ mtu MTU ]\n"); fprintf(stderr, " [ mtu MTU ]\n");
fprintf(stderr, " [ netns PID ]\n"); fprintf(stderr, " [ netns { PID | NAME } ]\n");
fprintf(stderr, " [ netns NAME ]\n");
fprintf(stderr, " [ link-netnsid ID ]\n"); fprintf(stderr, " [ link-netnsid ID ]\n");
fprintf(stderr, " [ alias NAME ]\n"); fprintf(stderr, " [ alias NAME ]\n");
fprintf(stderr, " [ vf NUM [ mac LLADDR ]\n"); fprintf(stderr, " [ vf NUM [ mac LLADDR ]\n");
fprintf(stderr, " [ vlan VLANID [ qos VLAN-QOS ] ]\n"); fprintf(stderr, " [ vlan VLANID [ qos VLAN-QOS ] ]\n");
fprintf(stderr, " [ rate TXRATE ] ]\n"); fprintf(stderr, " [ rate TXRATE ]\n");
fprintf(stderr, " [ spoofchk { on | off} ] ]\n"); fprintf(stderr, " [ spoofchk { on | off} ]\n");
fprintf(stderr, " [ query_rss { on | off} ] ]\n"); fprintf(stderr, " [ query_rss { on | off} ]\n");
fprintf(stderr, " [ state { auto | enable | disable} ] ]\n"); fprintf(stderr, " [ state { auto | enable | disable} ] ]\n");
fprintf(stderr, " [ trust { on | off} ] ]\n"); fprintf(stderr, " [ trust { on | off} ] ]\n");
fprintf(stderr, " [ master DEVICE ]\n"); fprintf(stderr, " [ master DEVICE ]\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment