linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: philip.yang@huawei.com (y00223423)
Subject: [PATCH] nvme-cli: list-ns: fix docs to fit the function
Date: Fri, 10 Mar 2017 09:52:45 +0800	[thread overview]
Message-ID: <1489110765-9052-1-git-send-email-philip.yang@huawei.com> (raw)

From: Guan Junxiong <guanjunxiong@huawei.com>

the list_ns function implements two command line options but the help document only shows the first option which is the given namespace-id , leaving the second option which is all namesapces out.
---
 Documentation/nvme-list-ns.txt | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/nvme-list-ns.txt b/Documentation/nvme-list-ns.txt
index 13a12d6..1a4b5f1 100644
--- a/Documentation/nvme-list-ns.txt
+++ b/Documentation/nvme-list-ns.txt
@@ -9,7 +9,7 @@ SYNOPSIS
 --------
 [verse]
 'nvme list-ns' <device> [--namespace-id=<nsid> | -n <nsid>]
-
+                        [--all | -a ]
 DESCRIPTION
 -----------
 For the NVMe device given, sends an identify command for namespace list
@@ -29,6 +29,10 @@ OPTIONS
 --namespace-id=<nsid>::
 	Retrieve the identify list structure starting with the given nsid.
 
+-a ::
+--all::
+	Retrieve the identify list structure for all the namespace
+
 EXAMPLES
 --------
 No examples yet.
-- 
2.6.4.windows.1

                 reply	other threads:[~2017-03-10  1:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1489110765-9052-1-git-send-email-philip.yang@huawei.com \
    --to=philip.yang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).