]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
completions: fix zsh completions array parameter names
authorTokunori Ikegami <ikegami.t@gmail.com>
Mon, 24 Feb 2025 02:09:54 +0000 (11:09 +0900)
committerDaniel Wagner <wagi@monom.org>
Wed, 26 Feb 2025 07:41:20 +0000 (08:41 +0100)
Since copied from the exsisting completion but missed to change.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
completions/_nvme

index 605e4522c97a5297af345b7d20fc7abbd72ccd3d..ee5e7ce34d59d1048edc1e9b8dd8d7df5b198dd0 100644 (file)
@@ -2644,7 +2644,7 @@ _nvme () {
                        ;;
                (mgmt-addr-list-log)
                        local _mal_log
-                       _caplog=(
+                       _mal_log=(
                        /dev/nvme':supply a device to use (required)'
                        --verbose':Increase the information detail in the output.'
                        -v':alias for --verbose'
@@ -2658,7 +2658,7 @@ _nvme () {
                        ;;
                (rotational-media-info-log)
                        local _rmi_log
-                       _caplog=(
+                       _rmi_log=(
                        /dev/nvme':supply a device to use (required)'
                        --endg-id=':Endurance Group Identifier'
                        -e':alias of --endg-id'
@@ -2688,7 +2688,7 @@ _nvme () {
                        ;;
                (dispersed-ns-participating-nss-log)
                        local _dns_psub_log
-                       _caplog=(
+                       _dns_psub_log=(
                        /dev/nvme':supply a device to use (required)'
                        --namespace-id=':show infos for namespace <nsid>'
                        -n':alias of --namespace-id'
@@ -2704,7 +2704,7 @@ _nvme () {
                        ;;
                (reachability-groups-log)
                        local _rg_log
-                       _caplog=(
+                       _rg_log=(
                        /dev/nvme':supply a device to use (required)'
                        --groups-only':Return Groups Only'
                        -g':alias for --groups-only'
@@ -2722,7 +2722,7 @@ _nvme () {
                        ;;
                (reachability-associations-log)
                        local _ra_log
-                       _caplog=(
+                       _ra_log=(
                        /dev/nvme':supply a device to use (required)'
                        --associations-only':Return Associations Only'
                        -a':alias for --associations-only'