summaryrefslogtreecommitdiffstats
path: root/completions/bash-nvme-completion.sh
diff options
context:
space:
mode:
Diffstat (limited to 'completions/bash-nvme-completion.sh')
-rw-r--r--completions/bash-nvme-completion.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/completions/bash-nvme-completion.sh b/completions/bash-nvme-completion.sh
index 8f451ff..fc3b49e 100644
--- a/completions/bash-nvme-completion.sh
+++ b/completions/bash-nvme-completion.sh
@@ -114,7 +114,7 @@ nvme_list_opts () {
--dps= -d --nmic= -m --anagrp-id= -a --nvmset-id= -i \
--block-size= -b --timeout= -t --csi= -y --lbstm= -l \
--nphndls= -n --nsze-si= -S --ncap-si= -C --azr -z --rar= -r \
- --ror= -o --rnumzrwa= -u --phndls= -p"
+ --ror= -o --rnumzrwa= -u --phndls= -p --endg-id= -e"
;;
"delete-ns")
opts+=" -namespace-id= -n --timeout= -t"
@@ -1342,12 +1342,15 @@ plugin_ocp_opts () {
"clear-pcie-correctable-error-counters")
opts+=" --no-uuid -n"
;;
- "vs-fw-activate-history")
+ "fw-activate-history")
opts+=" --output-format= -o"
;;
"device-capability-log")
opts+=" --output-format= -o"
;;
+ "set-dssd-power-state-feature")
+ opts+=" --power-state= -p --no-uuid -n --save -s"
+ ;;
"help")
opts+=$NO_OPTS
;;
@@ -1416,7 +1419,8 @@ _nvme_subcmds () {
set-latency-monitor-feature internal-log \
clear-fw-activate-history eol-plp-failure-mode \
clear-pcie-correctable-error-counters \
- vs-fw-activate-history device-capability-log"
+ vs-fw-activate-history device-capability-log \
+ set-dssd-power-state-feature"
)
# Associative array mapping plugins to coresponding option completions
@@ -1473,7 +1477,7 @@ _nvme_subcmds () {
_cmds+=" $plugin"
done
- cmds+=" version help"
+ _cmds+=" version help"
if [[ ${#words[*]} -lt 3 ]]; then
COMPREPLY+=( $(compgen -W "$_cmds" -- $cur ) )