]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
completions: Fix nvm-id-ns-lba-format command zsh definition
authorTokunori Ikegami <ikegami.t@gmail.com>
Fri, 5 May 2023 00:19:37 +0000 (09:19 +0900)
committerDaniel Wagner <wagi@monom.org>
Fri, 5 May 2023 08:06:25 +0000 (10:06 +0200)
Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
completions/_nvme

index b338b6d8f4e8633a18b8706c8dc4fbbc665a81b5..a92a39bcccd8a6da00003cd0012a22638461e562 100644 (file)
@@ -22,7 +22,7 @@ _nvme () {
        'list-ctrl:identify all controller(s) attached'
        'nvm-id-ctrl:display information about the nvm command set'
        'nvm-id-ns:display information about the namespace of nvm command set'
-       'id-ns-lba-format:display information about the namespace of nvm command set capability fields for specific LBA format'
+       'nvm-id-ns-lba-format:display information about the namespace of nvm command set capability fields for specific LBA format'
        'list-endgrp:display information about nvme endurance group list'
        'get-ns-id:get namespace id of opened block device'
        'get-log:retrieve any log in raw format'
@@ -192,7 +192,7 @@ _nvme () {
                        _arguments '*:: :->subcmds'
                        _describe -t commands "nvme nvm-id-ns options" _nvmidns
                        ;;
-               (id-ns-lba-format)
+               (nvm-id-ns-lba-format)
                        local _nvm_idns_lba_format
                        _nvm_idns_lba_format=(
                        /dev/nvme':supply a device to use (required)'