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

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