File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -2613,6 +2613,20 @@ _nvme () {
26132613 _arguments '*:: :->subcmds'
26142614 _describe -t commands "nvme set-reg options" _io_mgmt_send
26152615 ;;
2616+ (mgmt-addr-list-log)
2617+ local _mal_log
2618+ _caplog=(
2619+ /dev/nvme':supply a device to use (required)'
2620+ --verbose':Increase the information detail in the output.'
2621+ -v':alias for --verbose'
2622+ --output-format=':Output format: normal|json|binary'
2623+ -o ':alias for --output-format'
2624+ --timeout=':value for timeout'
2625+ -t ':alias for --timeout'
2626+ )
2627+ _arguments '*:: :->subcmds'
2628+ _describe -t commands "nvme mgmt-addr-list-log" _mal_log
2629+ ;;
26162630 (version)
26172631 local _version
26182632 _version=(
@@ -2724,7 +2738,7 @@ _nvme () {
27242738 get-property write-zeroes write-uncor verify sanitize sanitize-log reset
27252739 subsystem-reset ns-rescan get-lba-status dsm discover connect-all connect
27262740 dim disconnect disconnect-all gen-hostnqn show-hostnqn tls-key dir-receive
2727- dir-send virt-mgmt rpmb version ocp solidigm dapustor
2741+ dir-send virt-mgmt rpmb version ocp solidigm dapustor mgmt-addr-list-log
27282742 )
27292743 _arguments '*:: :->subcmds'
27302744 _describe -t commands "help: infos on a specific nvme command, or provide no option to see a synopsis of all nvme commands" _h
Original file line number Diff line number Diff line change @@ -479,6 +479,9 @@ nvme_list_opts () {
479479 --pmrmscu= --output-format= -o --verbose= -v \
480480 --timeout= -t"
481481 ;;
482+ " mgmt-addr-list-log" )
483+ opts+=" --verbose -v --output-format= -o --timeout= -t"
484+ ;;
482485 " version" )
483486 opts+=$NO_OPTS
484487 ;;
@@ -1669,7 +1672,7 @@ _nvme_subcmds () {
16691672 rpmb boot-part-log fid-support-effects-log \
16701673 supported-log-pages lockdown media-unit-stat-log \
16711674 supported-cap-config-log dim show-topology list-endgrp \
1672- nvme-mi-recv nvme-mi-send get-reg set-reg"
1675+ nvme-mi-recv nvme-mi-send get-reg set-reg mgmt-addr-list-log "
16731676
16741677 # Add plugins:
16751678 for plugin in " ${! _plugin_subcmds[@]} " ; do
You can’t perform that action at this time.
0 commit comments