Skip to content

Commit

Permalink
completions: add get-feature command changed option
Browse files Browse the repository at this point in the history
Separeted from the sel option changed value.

Signed-off-by: Tokunori Ikegami <[email protected]>
  • Loading branch information
ikegami-t committed Sep 20, 2024
1 parent 65a9f95 commit 87cd873
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions completions/_nvme
Original file line number Diff line number Diff line change
Expand Up @@ -1197,6 +1197,10 @@ _nvme () {
-b':alias to --raw-binary'
--timeout=':value for timeout'
-t':alias of --timeout'
--human-readable':show feature in readable format'
-H':alias of --human-readable'
--changed':show feature changed'
-C':alias of --changed'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme get-feature options" _getf
Expand Down
2 changes: 1 addition & 1 deletion completions/bash-nvme-completion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ nvme_list_opts () {
"get-feature")
opts+=" --namespace-id= -n --feature-id= -f --sel= -s \
--data-len= -l --cdw11= --c -uuid-index= -U --raw-binary -b \
--human-readable -H --timeout= -t"
--human-readable -H --timeout= -t --changed -C"
;;
"device-self-test")
opts+=" --namespace-id= -n --self-test-code= -s --timeout= -t"
Expand Down

0 comments on commit 87cd873

Please sign in to comment.