This updates the usage to indicate that we have support link creation
and destruction in addition to just setting link parameters.

It's not really great documentation of the new netlink support
for link creations and removal but it is a start.

Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]>
---
 ip/iplink.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ip/iplink.c b/ip/iplink.c
index 64989b2..541f3d6 100644
--- a/ip/iplink.c
+++ b/ip/iplink.c
@@ -38,7 +38,8 @@ static void usage(void) __attribute__((noreturn));
 
 void iplink_usage(void)
 {
-       fprintf(stderr, "Usage: ip link set DEVICE { up | down |\n");
+       fprintf(stderr, "Usage: ip link { set | add | replace | delete } DEVICE 
{\n");
+       fprintf(stderr, "                            up | down |\n");
        fprintf(stderr, "                            arp { on | off } |\n");
        fprintf(stderr, "                            dynamic { on | off } |\n");
        fprintf(stderr, "                            multicast { on | off } 
|\n");
@@ -48,7 +49,9 @@ void iplink_usage(void)
        fprintf(stderr, "                            txqueuelen PACKETS |\n");
        fprintf(stderr, "                            name NEWNAME |\n");
        fprintf(stderr, "                            address LLADDR | broadcast 
LLADDR |\n");
-       fprintf(stderr, "                            mtu MTU }\n");
+       fprintf(stderr, "                            mtu MTU | \n");
+       fprintf(stderr, "                            type TYPE [ TYPE specifc 
options]\n");
+       fprintf(stderr, "                            }\n");
        fprintf(stderr, "       ip link show [ DEVICE ]\n");
        exit(-1);
 }
-- 
1.5.3.rc6.17.g1911

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

Reply via email to