From 5b8b065b1d036d8e9050adc49ffeb3b7adad1dbf Mon Sep 17 00:00:00 2001 From: Jonathan Teh <30538043+jonathan-teh@users.noreply.github.com> Date: Fri, 7 May 2021 18:35:55 +0100 Subject: [PATCH] nvme-cli: fix typos in reservation actions Fix typos in short option for reservation register action and the full name of reservation acquire action. --- Documentation/nvme-resv-register.1 | 2 +- Documentation/nvme-resv-register.html | 2 +- Documentation/nvme-resv-register.txt | 2 +- completions/_nvme | 4 ++-- nvme.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/nvme-resv-register.1 b/Documentation/nvme-resv-register.1 index 48b391ff..3d9a869f 100644 --- a/Documentation/nvme-resv-register.1 +++ b/Documentation/nvme-resv-register.1 @@ -98,7 +98,7 @@ T} .sp 1 .RE .PP -\-a , \-\-rrega= +\-r , \-\-rrega= .RS 4 Reservation Register Action: This field specifies the registration action that is performed by the command\&. .TS diff --git a/Documentation/nvme-resv-register.html b/Documentation/nvme-resv-register.html index a17f8699..15bec286 100644 --- a/Documentation/nvme-resv-register.html +++ b/Documentation/nvme-resv-register.html @@ -861,7 +861,7 @@ a power loss.

--a <rrega> +-r <rrega>
--rrega=<rrega> diff --git a/Documentation/nvme-resv-register.txt b/Documentation/nvme-resv-register.txt index 076e979f..e0553f42 100644 --- a/Documentation/nvme-resv-register.txt +++ b/Documentation/nvme-resv-register.txt @@ -62,7 +62,7 @@ are cleared on a power on. a power loss. |================= --a :: +-r :: --rrega=:: Reservation Register Action: This field specifies the registration action that is performed by the command. diff --git a/completions/_nvme b/completions/_nvme index 2d7242c7..9402f9ce 100644 --- a/completions/_nvme +++ b/completions/_nvme @@ -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 a2075bf4..c30fad87 100644 --- 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; -- 2.50.1