From a9239099d5afc57c9c09c3480f714201699c3770 Mon Sep 17 00:00:00 2001 From: Drazzilb <65743746+Drazzilb08@users.noreply.github.com> Date: Sat, 17 Feb 2024 23:06:05 -0800 Subject: [PATCH] Adds items as list instead of a single string --- scripts/nohl_bash.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/nohl_bash.sh b/scripts/nohl_bash.sh index 99c7049..613b695 100755 --- a/scripts/nohl_bash.sh +++ b/scripts/nohl_bash.sh @@ -321,7 +321,7 @@ handle_options() { while getopts ":s:i:e:w:n:h" opt; do case $opt in s) source_dir="$OPTARG" ;; - i) include+=("$OPTARG") ;; + i) IFS=' ' read -ra include <<< "$OPTARG" ;; e) exclude+=("$OPTARG") ;; w) webhook="$OPTARG" ;; n) bot_name="$OPTARG" ;;