]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
nvme-cli: fix typos in reservation actions
authorJonathan Teh <30538043+jonathan-teh@users.noreply.github.com>
Fri, 7 May 2021 17:35:55 +0000 (18:35 +0100)
committerKeith Busch <kbusch@kernel.org>
Fri, 7 May 2021 17:44:55 +0000 (11:44 -0600)
Fix typos in short option for reservation register action and the full
name of reservation acquire action.

Documentation/nvme-resv-register.1
Documentation/nvme-resv-register.html
Documentation/nvme-resv-register.txt
completions/_nvme
nvme.c

index 48b391fff116c7f03724c0b56a55c314429d336e..3d9a869f68b8fa17c0cc7f3bdb65ce651b7d2014 100644 (file)
@@ -98,7 +98,7 @@ T}
 .sp 1
 .RE
 .PP
-\-a <rrega>, \-\-rrega=<rrega>
+\-r <rrega>, \-\-rrega=<rrega>
 .RS 4
 Reservation Register Action: This field specifies the registration action that is performed by the command\&.
 .TS
index a17f869992643ea42e93e7b2e15e9afc1b12e066..15bec28677cd8ce8e60f367aa2bfc393d4fedf18 100644 (file)
@@ -861,7 +861,7 @@ a power loss.</p></td>
 </div>\r
 </dd>\r
 <dt class="hdlist1">\r
--a &lt;rrega&gt;\r
+-r &lt;rrega&gt;\r
 </dt>\r
 <dt class="hdlist1">\r
 --rrega=&lt;rrega&gt;\r
index 076e979fb95a1269731214c9cfa244d0e9ba24c1..e0553f42a90f3423ad68c31aff8885bf8b21651a 100644 (file)
@@ -62,7 +62,7 @@ are cleared on a power on.
 a power loss.
 |=================
 
--a <rrega>::
+-r <rrega>::
 --rrega=<rrega>::
        Reservation Register Action: This field specifies the registration
        action that is performed by the command.
index 2d7242c799e84e8fb370d01e8bf841a4fc40123e..9402f9ce6b2901957a5db682289fc1ef35447d22 100644 (file)
@@ -558,7 +558,7 @@ _nvme () {
                        -p':alias for --prkey'
                        --rtype=':hexadecimal reservation type'
                        -t':alias for --rtype'
-                       --racqa=':reservation acquiry action'
+                       --racqa=':reservation acquire action'
                        -a':alias for --racqa'
                        --iekey=':ignore existing reservation key'
                        -i':alias for --iekey'
@@ -611,7 +611,7 @@ _nvme () {
                        --cptpl=':change persistence through power loss setting'
                        -p':alias for --cptpl'
                        --rrega=':reservation registration action to perform'
-                       -a':alias for --rrega'
+                       -r':alias for --rrega'
                        --iekey':ignore existing reservation key'
                        -i':alias for --iekey'
                        )
diff --git a/nvme.c b/nvme.c
index a2075bf451db13695ea48992dc1caeef609e41d6..c30fad873dcfb8487e3ccc86d8d6bc7b35c532b4 100644 (file)
--- a/nvme.c
+++ b/nvme.c
@@ -4384,7 +4384,7 @@ static int resv_acquire(int argc, char **argv, struct command *cmd, struct plugi
        const char *crkey = "current reservation key";
        const char *prkey = "pre-empt reservation key";
        const char *rtype = "reservation type";
-       const char *racqa = "reservation acquiry action";
+       const char *racqa = "reservation acquire action";
        const char *iekey = "ignore existing res. key";
        int err, fd;