summaryrefslogtreecommitdiffstats
path: root/completions/_nvme
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-03 07:59:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-03 07:59:55 +0000
commit4db51231d9338c31a1182fcb225e9fd7f57db258 (patch)
treef83fa4e90727c4891001f956f02cf5a9500f6c05 /completions/_nvme
parentReleasing debian version 2.3-2. (diff)
downloadnvme-cli-4db51231d9338c31a1182fcb225e9fd7f57db258.tar.xz
nvme-cli-4db51231d9338c31a1182fcb225e9fd7f57db258.zip
Merging upstream version 2.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'completions/_nvme')
-rw-r--r--completions/_nvme20
1 files changed, 19 insertions, 1 deletions
diff --git a/completions/_nvme b/completions/_nvme
index 5910898..7702fcc 100644
--- a/completions/_nvme
+++ b/completions/_nvme
@@ -231,9 +231,23 @@ _nvme () {
--dps=':data protection?'
-d':alias of --dps'
--nmic=':multipath and sharing'
- -n':alias of --nmic'
+ -m':alias of --nmic'
+ --anagrp-id=':ANA Group Identifier'
+ -a':alias of --anagrp-id'
+ --nvmset-id=':NVM Set Identifier'
+ -i':alias of --nvmset-id'
+ --block-size=':target block size'
+ -b':alias of --block-size'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
--csi=':command set identifier'
-y':alias of --csi'
+ --lbstm=':logical block storage tag mask'
+ -l':alias of --lbstm'
+ --nsze-si=':size of ns (NSZE) in standard SI units'
+ -S':alias of --nsze-si'
+ --ncap-si=':capacity of ns (NCAP) in standard SI units'
+ -C':alias of --ncap-si'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme create-ns options" _createns
@@ -244,6 +258,8 @@ _nvme () {
/dev/nvme':supply a device to use (required)'
--namespace-id=':namespace to delete'
-n':alias of --namespace-id'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme delete-ns options" _deletens
@@ -505,6 +521,8 @@ _nvme () {
/dev/nvme':supply a device to use (required)'
--namespace-id=':<nsid> of namespace to format (required)'
-n':alias of --namespace-id'
+ --timeout=':value for timeout'
+ -t':alias of --timeout'
--lbaf=':LBA format to apply to namespace (required)'
-l':alias of --lbaf'
--ses=':secure erase? 0 - no-op (default), 1 - user-data erase, 2 - cryptographic erase'