diff --git a/plexupdate.sh b/plexupdate.sh index 17a8819..0ea2e8e 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -129,7 +129,7 @@ do (-u) AUTOUPDATE=yes;; (-U) AUTOUPDATE=no;; (--) ;; - (-*) echo "Error: unrecognized option $1" 1>&2; exit 1;; + (-*) echo "Error: unrecognized option $1" 1>&2; usage; exit 1;; (*) break;; esac shift