Merge pull request #83 from demonbane/fix-getopt

Add missing options and remove nonexistent ones
This commit is contained in:
Henric Andersson 2016-08-09 16:54:32 -07:00 committed by GitHub
commit 10b7a1c4bf

View file

@ -165,7 +165,7 @@ usage() {
# Parse commandline
ALLARGS=( "$@" )
optstring="acCdfhkopqrsuU"
optstring="acCdfhlpqrSsuU"
getopt -T >/dev/null
if [ $? -eq 4 ]; then
optstring="-o $optstring"