Browse Source

Fix options in getopt command

develop
Dave Russell 14 hours ago
committed by GitHub
parent
commit
923533fb24
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      syno_hdd_db.sh

3
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

Loading…
Cancel
Save