]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
nvme: update description for "nvme list" command
authorMax Gurtovoy <maxg@mellanox.com>
Thu, 30 May 2019 09:43:23 +0000 (12:43 +0300)
committerKeith Busch <keith.busch@gmail.com>
Fri, 7 Jun 2019 16:16:36 +0000 (10:16 -0600)
The "nvme list" command doesn't get any device handle as an input
argument. This operation prints out a basic information for all NVMe
namespaces in the system.

Reviewed-by: Minwoo Im <minwoo.im@samsung.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
nvme.c

diff --git a/nvme.c b/nvme.c
index 9d763f509b22c40df7bf46438bc0be09b3f49c43..3310abd3b4637946ecf4c1eec4e3490844ef4c05 100644 (file)
--- a/nvme.c
+++ b/nvme.c
@@ -1801,7 +1801,7 @@ static int list(int argc, char **argv, struct command *cmd, struct plugin *plugi
        struct list_item *list_items;
        unsigned int list_cnt = 0;
        int fmt, ret, fd, i, n;
-       const char *desc = "Retrieve basic information for the given device";
+       const char *desc = "Retrieve basic information for all NVMe namespaces";
        struct config {
                char *output_format;
        };