mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-19 21:03:19 -07:00
Show usage on unrecognized option
This commit is contained in:
parent
b50e8c68f9
commit
db29f8e41b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue