summaryrefslogtreecommitdiffstats
path: root/completions/bash-nvme-completion.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--completions/bash-nvme-completion.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/completions/bash-nvme-completion.sh b/completions/bash-nvme-completion.sh
index e817701..f067940 100644
--- a/completions/bash-nvme-completion.sh
+++ b/completions/bash-nvme-completion.sh
@@ -103,7 +103,7 @@ _cmds="list list-subsys id-ctrl id-ns \
show-hostnqn dir-receive dir-send virt-mgmt \
rpmb boot-part-log fid-support-effects-log \
supported-log-pages lockdown media-unit-stat-log \
- supported-cap-config-log dim"
+ supported-cap-config-log dim show-topology"
# Add plugins:
for plugin in "${!_plugin_subcmds[@]}"; do
@@ -524,6 +524,9 @@ nvme_list_opts () {
--key= -k --msg= -d --address= -o --blocks= -b \
--target= -t"
;;
+ "show-topology")
+ opts+=" --output-format= -o --verbose -v --ranking= -r"
+ ;;
"version")
opts+=$NO_OPTS
;;