File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -345,6 +345,8 @@ _nvme () {
345345 -s':alias for --sel'
346346 --no-uuid':Skip UUID index search'
347347 -n':alias for --no-uuid'
348+ --all-ns':Send the command to all namespaces'
349+ -a':alias for --all-ns'
348350 )
349351 _arguments '*:: :->subcmds'
350352 _describe -t commands "nvme ocp get-error-injection options" _get_error_injection
@@ -368,6 +370,8 @@ _nvme () {
368370 --output-format=':Output format: normal|json|binary'
369371 -o ':alias for --output-format'
370372 --timeout=':value for timeout'
373+ --all-ns':Send the command to all namespaces'
374+ -a':alias for --all-ns'
371375 )
372376 _arguments '*:: :->subcmds'
373377 _describe -t commands "nvme ocp set-error-injection options" _set_error_injection
Original file line number Diff line number Diff line change @@ -1638,11 +1638,11 @@ plugin_ocp_opts () {
16381638 opts+=" --output-file= -o"
16391639 ;;
16401640 " get-error-injection" )
1641- opts+=" --sel= -s --no-uuid -n"
1641+ opts+=" --sel= -s --no-uuid -n --all-ns -a "
16421642 ;;
16431643 " set-error-injection" )
16441644 opts+=" --data= -d --number= -n --no-uuid -N --type= -t \
1645- --nrtdp= -r --verbose -v --output-format -o --timeout="
1645+ --nrtdp= -r --verbose -v --output-format -o --timeout= --all-ns -a "
16461646 ;;
16471647 " hardware-component-log" )
16481648 opts+=" --comp-id= -i --list -l --verbose -v \
You can’t perform that action at this time.
0 commit comments