[PATCH 31/35] completions: add completions for nvme monitor

mwilck
2021-01-26T20:35:47Z

From: Martin Wilck <mwilck@suse.com>

Signed-off-by: Martin Wilck <mwilck@suse.com>
---
completions/bash-nvme-completion.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/completions/bash-nvme-completion.sh b/completions/bash-nvme-completion.sh
index d669e9b..9bf0da8 100644
--- a/completions/bash-nvme-completion.sh
+++ b/completions/bash-nvme-completion.sh
@@ -11,7 +11,7 @@ _cmds="list id-ctrl id-ns list-ns id-iocs create-ns delete-ns \
resv-report dsm flush compare read write write-zeroes \
write-uncor copy reset subsystem-reset show-regs discover \
connect-all connect disconnect version help \
- intel lnvm memblaze list-subsys"
+ intel lnvm memblaze list-subsys monitor"

nvme_list_opts () {
local opts=""
@@ -231,6 +231,10 @@ nvme_list_opts () {
"disconnect")
opts+=" --nqn -n --device -d"
;;
+ "monitor")
+ opts+=" --autoconnect -A --persistent -p --startup -U \
+ --hostnqn= -q --verbose -v --clockstamps -C"
+ ;;
"version")
opts+=""
;;
--
2.29.2