]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - rdma/rdma.c
rdma: Add link object
[mirror_iproute2.git] / rdma / rdma.c
index 9c2bdc8f1d30c337f585c54aa8494e818489feba..74c09e8b513bf24f621aecf94c5914214fe496a5 100644 (file)
@@ -15,7 +15,7 @@
 static void help(char *name)
 {
        pr_out("Usage: %s [ OPTIONS ] OBJECT { COMMAND | help }\n"
-              "where  OBJECT := { dev | help }\n"
+              "where  OBJECT := { dev | link | help }\n"
               "       OPTIONS := { -V[ersion] | -d[etails]}\n", name);
 }
 
@@ -31,6 +31,7 @@ static int rd_cmd(struct rd *rd)
                { NULL,         cmd_help },
                { "help",       cmd_help },
                { "dev",        cmd_dev },
+               { "link",       cmd_link },
                { 0 }
        };