From: Tokunori Ikegami Date: Sat, 13 Apr 2024 16:39:26 +0000 (+0900) Subject: completions: Change fw-activate command name to fw-commit X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e7e653cba3b169df3cbccff774bc26530eed6608;p=users%2Fsagi%2Fnvme-cli.git completions: Change fw-activate command name to fw-commit The fw-activate command is old version prior to 1.2. Signed-off-by: Tokunori Ikegami --- diff --git a/completions/_nvme b/completions/_nvme index 9a18ad09..67fb4882 100644 --- a/completions/_nvme +++ b/completions/_nvme @@ -56,7 +56,7 @@ _nvme () { 'set-property:writes and shows the defined NVMe controller property for NVMe over Fabric' 'get-property:Reads and shows the defined NVMe controller property for NVMe over Fabric' 'format:apply new block format to namespace' - 'fw-activate:activate a firmware on the device' + 'fw-commit:verify and commit firmware to a specific slot (fw-activate in old version < 1.2)' 'fw-download:download a firmware to the device' 'admin-passthru:submit a passthrough admin command IOCTL' 'io-passthru:submit a passthrough io command IOCTL' @@ -1239,9 +1239,9 @@ _nvme () { _arguments '*:: :->subcmds' _describe -t commands "nvme format options" _format ;; - (fw-activate) - local _fwact - _fwact=( + (fw-commit) + local _fw_commit + _fw_commit=( /dev/nvme':supply a device to use (required)' --action=':activation action (required)? 0 - replace fw without activating, 1 - replace with activation, 2 - replace with activation at next reset' -a':alias of --action' @@ -1249,7 +1249,7 @@ _nvme () { -s':alias of --slot' ) _arguments '*:: :->subcmds' - _describe -t commands "nvme fw-activate options" _fwact + _describe -t commands "nvme fw-commit options" _fw_commit ;; (fw-download) local _fwd