Blame SOURCES/0003-bash-Fix-nvme-completion.patch

955b2d
From 821935cccfcad6b18da78d42f9ddf49f4cbe0b8e Mon Sep 17 00:00:00 2001
955b2d
From: Daniel Wagner <dwagner@suse.de>
955b2d
Date: Thu, 9 Dec 2021 15:40:26 +0100
955b2d
Subject: [PATCH 2/6] bash: Fix nvme completion
955b2d
955b2d
Signed-off-by: Daniel Wagner <dwagner@suse.de>
955b2d
---
955b2d
 completions/bash-nvme-completion.sh | 5 ++---
955b2d
 1 file changed, 2 insertions(+), 3 deletions(-)
955b2d
955b2d
diff --git a/completions/bash-nvme-completion.sh b/completions/bash-nvme-completion.sh
955b2d
index 41938d7..902da01 100644
955b2d
--- a/completions/bash-nvme-completion.sh
955b2d
+++ b/completions/bash-nvme-completion.sh
955b2d
@@ -101,8 +101,7 @@ _cmds="list list-subsys id-ctrl id-ns \
955b2d
 	connect disconnect disconnect-all gen-hostnqn \
955b2d
 	show-hostnqn dir-receive dir-send virt-mgmt \
955b2d
 	rpmb boot-part-log fid-support-effects-log \
955b2d
-	supported-log-pages lockdown"
955b2d
-	supported-log-pages list-endgrp"
955b2d
+	supported-log-pages lockdown list-endgrp"
955b2d
 
955b2d
 # Add plugins:
955b2d
 for plugin in "${!_plugin_subcmds[@]}"; do
955b2d
@@ -1368,7 +1367,7 @@ plugin_ymtc_opts () {
955b2d
 		opts+=" --namespace-id= -n --raw-binary -b"
955b2d
 			;;
955b2d
 		"help")
955b2d
-		opts+=NO_OPTS
955b2d
+		opts+=$NO_OPTS
955b2d
 			;;
955b2d
 	esac
955b2d
 
955b2d
-- 
955b2d
2.27.0
955b2d