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