summaryrefslogtreecommitdiffstats
path: root/completions/bash-nvme-completion.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:11:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:11:05 +0000
commit81d6a5ded50a26338e1b36462b3e0a6e45beb9a6 (patch)
tree364371981040c3dc6e97bb289bda0d33933ebfac /completions/bash-nvme-completion.sh
parentAdding upstream version 2.8. (diff)
downloadnvme-cli-81d6a5ded50a26338e1b36462b3e0a6e45beb9a6.tar.xz
nvme-cli-81d6a5ded50a26338e1b36462b3e0a6e45beb9a6.zip
Adding upstream version 2.9.1.upstream/2.9.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--completions/bash-nvme-completion.sh29
1 files changed, 27 insertions, 2 deletions
diff --git a/completions/bash-nvme-completion.sh b/completions/bash-nvme-completion.sh
index d862aab..f5cdb43 100644
--- a/completions/bash-nvme-completion.sh
+++ b/completions/bash-nvme-completion.sh
@@ -453,6 +453,20 @@ nvme_list_opts () {
opts+=" --opcode= -O --namespace-id= -n --data-len= -l \
--nmimt= -m --nmd0= -0 --nmd1= -1 --input-file= -i"
;;
+ "get-reg")
+ opts+=" --offset, -O --human-readable -H --cap --vs --cmbloc \
+ --cmbsz --bpinfo --cmbsts --cmbebs --cmbswtp --crto \
+ --pmrcap --pmrsts --pmrebs --pmrswtp --intms --intmc \
+ --cc --csts --nssr --aqa --asq --acq --bprsel --bpmbl \
+ --cmbmsc --nssd --pmrctl --pmrmscl --pmrmscu \
+ --output-format -o --verbose -v"
+ ;;
+ "set-reg")
+ opts+=" --offset, -O --value= -V --mmio32 -m --intms= --intmc= \
+ --cc= --csts= --nssr= --aqa= --asq= --acq= --bprsel= \
+ --bpmbl= --cmbmsc= --nssd= --pmrctl= --pmrmscl= \
+ --pmrmscu= --output-format= -o --verbose= -v"
+ ;;
"version")
opts+=$NO_OPTS
;;
@@ -1444,6 +1458,15 @@ plugin_ocp_opts () {
"telemetry-string-log")
opts+=" --output-file= -o"
;;
+ "set-telemetry-profile")
+ opts+=" --telemetry-profile-select= -t"
+ ;;
+ "set-dssd-async-event-config")
+ opts+=" --enable-panic-notices -e --save -s"
+ ;;
+ "get-dssd-power-state-feature")
+ opts+=" --sel= -S"
+ ;;
"help")
opts+=$NO_OPTS
;;
@@ -1519,7 +1542,9 @@ _nvme_subcmds () {
clear-fw-activate-history eol-plp-failure-mode \
clear-pcie-correctable-error-counters \
vs-fw-activate-history device-capability-log \
- set-dssd-power-state-feature telemetry-string-log"
+ set-dssd-power-state-feature telemetry-string-log \
+ set-telemetry-profile set-dssd-async-event-config \
+ get-dssd-async-event-config"
)
# Associative array mapping plugins to corresponding option completions
@@ -1571,7 +1596,7 @@ _nvme_subcmds () {
rpmb boot-part-log fid-support-effects-log \
supported-log-pages lockdown media-unit-stat-log \
supported-cap-config-log dim show-topology list-endgrp \
- nvme-mi-recv nvme-mi-send"
+ nvme-mi-recv nvme-mi-send get-reg set-reg"
# Add plugins:
for plugin in "${!_plugin_subcmds[@]}"; do