summaryrefslogtreecommitdiffstats
path: root/completions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-03 08:17:38 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-03 08:17:38 +0000
commitd57675fc67455faf7c68d4003a1ce884779e2c7c (patch)
tree3becd19ea8eda8827e45bf9e627d580fe614be64 /completions
parentReleasing debian version 2.4-1. (diff)
downloadnvme-cli-d57675fc67455faf7c68d4003a1ce884779e2c7c.tar.xz
nvme-cli-d57675fc67455faf7c68d4003a1ce884779e2c7c.zip
Merging upstream version 2.4+really2.3.
This reverts commit f42531334c05b7f49ae43c0a27e347a487fb2667.
Diffstat (limited to 'completions')
-rw-r--r--completions/_nvme20
-rw-r--r--completions/bash-nvme-completion.sh7
2 files changed, 4 insertions, 23 deletions
diff --git a/completions/_nvme b/completions/_nvme
index 7702fcc..5910898 100644
--- a/completions/_nvme
+++ b/completions/_nvme
@@ -231,23 +231,9 @@ _nvme () {
--dps=':data protection?'
-d':alias of --dps'
--nmic=':multipath and sharing'
- -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'
+ -n':alias of --nmic'
--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
@@ -258,8 +244,6 @@ _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
@@ -521,8 +505,6 @@ _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'
diff --git a/completions/bash-nvme-completion.sh b/completions/bash-nvme-completion.sh
index fae3ab4..c5fbda0 100644
--- a/completions/bash-nvme-completion.sh
+++ b/completions/bash-nvme-completion.sh
@@ -92,9 +92,8 @@ nvme_list_opts () {
;;
"create-ns")
opts+=" --nsze= -s --ncap= -c --flbas= -f \
- --dps= -d --nmic= -m --anagrp-id= -a --nvmset-id= -i \
- --block-size= -b --timeout= -t --csi= -y --lbstm= -l \
- --nsze-si= -S --ncap-si= -C"
+ --dps= -d --nmic= -n --anagrp-id= -a --nvmset-id= -i \
+ --block-size= -b --timeout= -t--csi= -y"
;;
"delete-ns")
opts+=" -namespace-id= -n --timeout= -t"
@@ -313,7 +312,7 @@ nvme_list_opts () {
--dir-type= -T --dir-spec= -S --dsm= -D --show-command -v \
--dry-run -w --latency -t"
;;
- "write-zeroes")
+ "write-zeros")
opts+=" --namespace-id= -n --start-block= -s \
--block-count= -c --deac -d --limited-retry -l \
--force-unit-access -f --prinfo= -p --ref-tag= -r \