diff --git a/syno_hdd_db.sh b/syno_hdd_db.sh index 69f1ac5..45a1d38 100644 --- a/syno_hdd_db.sh +++ b/syno_hdd_db.sh @@ -162,6 +162,10 @@ EOF } +# Save options used +args="$@" + + # Check for flags with getopt if options="$(getopt -o abcdefghijklmnopqrstuvwxyz0123456789 -a \ -l showedits,noupdate,nodbupdate,m2,force,ram,help,version,debug -- "$@")"; then @@ -258,6 +262,9 @@ elif [[ $model =~ '-j'$ ]]; then # GitHub issue #2 echo -e "\nUsing model: $model" fi +# Show options used +echo "Using options: $args" + #echo "" # To keep output readable