Skip to content

Commit

Permalink
Fix: Notifiarr information not being parsed
Browse files Browse the repository at this point in the history
  • Loading branch information
Drazzilb08 committed Feb 24, 2024
1 parent e9ec063 commit 7d8d17d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/nohl_bash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,14 @@ main() {

# Define function to handle options
handle_options() {
while getopts ":s:i:e:w:n:h" opt; do
while getopts ":s:i:e:w:n:h:C" opt; do
case $opt in
s) source_dir="$OPTARG" ;;
i) IFS=',' read -r -a include <<< "$OPTARG" ;;
e) exclude+=("$OPTARG") ;;
w) webhook="$OPTARG" ;;
n) bot_name="$OPTARG" ;;
C) channel="$OPTARG" ;;
h) display_help ;;
\?) echo "Invalid option: -$OPTARG" >&2; display_help; exit 1 ;;
:) echo "Option -$OPTARG requires an argument." >&2; display_help; exit 1 ;;
Expand Down

0 comments on commit 7d8d17d

Please sign in to comment.