From 923533fb24c3172395366d2151b580b628e6950d Mon Sep 17 00:00:00 2001 From: Dave Russell <39733752+007revad@users.noreply.github.com> Date: Sat, 14 Feb 2026 03:20:26 +1100 Subject: [PATCH] Fix options in getopt command --- syno_hdd_db.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/syno_hdd_db.sh b/syno_hdd_db.sh index af48343..331f09b 100644 --- a/syno_hdd_db.sh +++ b/syno_hdd_db.sh @@ -116,8 +116,7 @@ args=("$@") # Check for flags with getopt if options="$(getopt -o SIabcdefghijklmnopqrstuvwxyz0123456789 -l \ - ssd:,ihm,restore,showedits,noupdate,nodbupdate,m2,force,\ - incompatible,ram,pcie,wdda,email,autoupdate:,reboot,help,version,debug \ + ssd:,ihm,restore,showedits,noupdate,nodbupdate,m2,force,incompatible,ram,pcie,wdda,email,autoupdate:,reboot,help,version,debug -- "$@")"; then -- "$@")"; then eval set -- "$options" while true; do