mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-07-15 09:42:58 -07:00
Merge pull request #83 from demonbane/fix-getopt
Add missing options and remove nonexistent ones
This commit is contained in:
commit
10b7a1c4bf
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ usage() {
|
||||||
|
|
||||||
# Parse commandline
|
# Parse commandline
|
||||||
ALLARGS=( "$@" )
|
ALLARGS=( "$@" )
|
||||||
optstring="acCdfhkopqrsuU"
|
optstring="acCdfhlpqrSsuU"
|
||||||
getopt -T >/dev/null
|
getopt -T >/dev/null
|
||||||
if [ $? -eq 4 ]; then
|
if [ $? -eq 4 ]; then
|
||||||
optstring="-o $optstring"
|
optstring="-o $optstring"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue