Skip to content

Commit

Permalink
completions: add smart-log command fahrenheit option
Browse files Browse the repository at this point in the history
Added the verbose option missed also.

Signed-off-by: Tokunori Ikegami <[email protected]>
  • Loading branch information
ikegami-t authored and igaw committed Jun 28, 2024
1 parent 013f779 commit 6eed769
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 @@ -996,6 +996,10 @@ _nvme () {
-n':alias to --namespace-id'
--raw-binary':dump infos in binary format'
-b':alias to --raw-binary'
--verbose':show infos verbosely'
-v':alias to --verbose'
--fahrenheit'show temperatures in degrees fahrenheit'
-f':alias to --fahrenheit'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme smart-log options" _smartlog
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 @@ -149,7 +149,7 @@ nvme_list_opts () {
;;
"smart-log")
opts+=" --namespace-id= -n --raw-binary -b \
--output-format= -o"
--output-format= -o --verbose -v --fahrenheit -f"
;;
"ana-log")
opts+=" --output-format -o"
Expand Down

0 comments on commit 6eed769

Please sign in to comment.