-a':alias of --all'
--output-format=':Output format: normal|json|binary'
-o':alias for --output-format'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme list-ns options" _listns
-b':alias to --raw-binary'
--csi=':command set identifier'
-c':alias of --csi'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme effects-log options" _effects_log
--cdw11=':dword 11 value, used for interrupt vector configuration only'
--raw-binary':dump infos in binary format'
-b':alias to --raw-binary'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme get-feature options" _getf
-s':alias for --self-test-code'
--wait':Wait for the test to finish'
-w':alias to --wait'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme device-self-test options" _device_self_test
-s':alias of --scp'
--uuid=':UUID Index field required aligned with Scope'
-U':alias of --uuid'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme lockdown options" _lockdown
-V'alias to --value'
--uuid-index=':uuid index'
-U':alias for --uuid-index'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme set-feature options" _setf
-O':alias to --offset'
--value=':the value of the property to be set'
-V':alias to --value'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme set-property options" _set_property
-O':alias to --offset'
--human-readable':show infos in readable format'
-H':alias of --human-readable'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme get-property options" _get_property
-a':alias of --action'
--slot=':firmware slot to activate'
-s':alias of --slot'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme fw-commit options" _fw_commit
-x':alias of --xfer'
--offset=':starting offset, in dwords (defaults to 0, only useful if download is split across multiple files)'
-O':alias of --offset'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme fw-download options" _fwd
;;
(capacity-mgmt)
- local _fwd
- _fwd=(
+ local _capacity_mgmt
+ _capacity_mgmt=(
/dev/nvme':supply a device to use (required)'
--operation=':Operation to be performed by the controller'
-O':alias of --operation'
-l':alias of --cap-lower'
--cap-upper=':Most significant 32 bits of the capacity in bytes'
-u':alias of --cap-upper'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
- _describe -t commands "nvme capacity-mgmt options" _fwd
+ _describe -t commands "nvme capacity-mgmt options" _capacity_mgmt
;;
(write-zeroes)
local _write_zeroes
-C':alias of --storage-tag-check'
--dir-spec=':directive specific'
-D':alias of --dir-spec'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme write-zeroes options" _write_zeroes
-T':alias of --dir-type'
--dir-spec':directive specific'
-S':alias of --dir-spec'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme write-uncor options" _write_uncor
-S':alias of --storage-tag'
--storage-tag-check':Storage Tag field shall be checked as part of end-to-end data protection processing'
-C':alias of --storage-tag-check'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme verify options" _verify
-s':alias for --spsp'
--tl=':transfer length as defined in SPC-4'
-t':alias for --tl'
+ --timeout=':value for timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme security-send options" _ssend
-a':alias for --al'
--raw-binary':dump output in binary format'
-b':alias for --raw-binary'
+ --timeout=':value for timeout'
+ -t':alias for --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme security-recv options" _srecv
-i':alias for --iekey'
--crkey':current reservation key'
-c':alias for --crkey'
+ --timeout=':value for timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme resv-acquire options" _acq
-a':alias of --rrela'
--iekey':ignore existing reservation key'
-i':alias of --iekey'
+ --timeout=':value for timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme resv-release options" _rel
-e':alias of --eds'
--raw-binary':dump output in binary format'
-b':alias of --raw-binary'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme resv-report options" _rep
-r':alias for --rrega'
--iekey':ignore existing reservation key'
-i':alias for --iekey'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme resv-register options" _reg
-r':alias of --idr'
--cdw11=':value for command dword 11'
-c':alias for --cdw11'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme dsm options" _dsm
-S':alias of --dir-spec'
--format=':source range entry format'
-F':alias of --format'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
- _describe -t commands "nvme copy options" _copy
- ;;
+ _describe -t commands "nvme copy options" _copy
+ ;;
(flush)
local _flush
_flush=(
-V':alias of --show-command'
--dry-run':show command instead of sending to device'
-w':alias of --show-command'
+ --latency':latency statistics will be output following compare'
+ -t':alias of --latency'
+ --timeout=':value for timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme compare options" _comp
-V':alias of --show-command'
--dry-run':show command instead of sending to device'
-w':alias of --show-command'
+ --timeout=':value for timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme read options" _read
-V':alias of --show-command'
--dry-run':show command instead of sending to device'
-w':alias of --show-command'
+ --timeout=':value for timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme write options" _wr
local _shor
_shor=(
/dev/nvme':supply a device to use (required)'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme show-regs options" _shor
-r':alias of --req-resource'
--human-readable':show infos in readable format'
-H':alias of --human-readable'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme dir-receive options" _dir_receive
-b':alias for --raw-binary'
--input-file=':write/send file (default stdin)'
-i':alias of --input-file'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme dir-send options" _dir_send
-a':alias of --act'
--nr=':Number of Controller Resources(NR)'
-n':alias of --nr'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme virt-mgmt options" _virt_mgmt
-o ':alias for --output-format'
--verbose':Increase the information detail in the output.'
-v':alias for --verbose'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme get-reg options" _get_reg
-o ':alias for --output-format'
--verbose':Increase the information detail in the output.'
-v':alias for --verbose'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme set-reg options" _set_reg