Skip to content

Commit 6bb7b12

Browse files
ikegami-tigaw
authored andcommitted
completions: add pull-model-ddc-req-log command
Both bash and zsh completions updated for the command. Signed-off-by: Tokunori Ikegami <[email protected]>
1 parent d3e10fd commit 6bb7b12

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

completions/_nvme

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ _nvme () {
117117
'reachability-associations-log:retrieve reachability associations log'
118118
'host-discovery-log:retrieve host discovery log'
119119
'ave-discovery-log:retrieve ave discovery log'
120+
'pull-model-ddr-req-log:retrieve pull model ddr req log'
120121
'version:show the program version'
121122
'ocp:OCP cloud SSD extensions'
122123
'solidigm:Solidigm plug-in extensions'
@@ -2774,6 +2775,22 @@ _nvme () {
27742775
_arguments '*:: :->subcmds'
27752776
_describe -t commands "nvme ave-discovery-log" _ad_log
27762777
;;
2778+
(pull-model-ddr-req-log)
2779+
local _pmdr_log
2780+
_pmdr_log=(
2781+
/dev/nvme':supply a device to use (required)'
2782+
--rae':Retain an Asynchronous Event'
2783+
-r':alias for --rae'
2784+
--verbose':Increase the information detail in the output.'
2785+
-v':alias for --verbose'
2786+
--output-format=':Output format: normal|json|binary'
2787+
-o ':alias for --output-format'
2788+
--timeout=':value for timeout'
2789+
-t ':alias for --timeout'
2790+
)
2791+
_arguments '*:: :->subcmds'
2792+
_describe -t commands "nvme pull-model-ddr-req-log" _pmdr_log
2793+
;;
27772794
(version)
27782795
local _version
27792796
_version=(

completions/bash-nvme-completion.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,10 @@ nvme_list_opts () {
517517
--output-format= -o --timeout= -t"
518518
;;
519519
"ave-discovery-log")
520+
opts+=" --rae -r --verbose -v --output-format= -o \
521+
--timeout= -t"
522+
;;
523+
"pull--ddc-req-log")
520524
opts+=" --rae -r --verbose -v --output-format= -o \
521525
--timeout= -t"
522526
;;
@@ -1751,7 +1755,7 @@ _nvme_subcmds () {
17511755
rotational-media-info-log changed-alloc-ns-list-log \
17521756
io-mgmt-recv io-mgmt-send dispersed-ns-participating-nss-log \
17531757
reachability-groups-log reachability-associations-log \
1754-
host-discovery-log ave-discovery-log"
1758+
host-discovery-log ave-discovery-log pull--ddc-req-log"
17551759

17561760
# Add plugins:
17571761
for plugin in "${!_plugin_subcmds[@]}"; do

0 commit comments

Comments
 (0)