mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04:00
fix: stop parse options on double dashes
This commit is contained in:
parent
cf432651b3
commit
a713cef2a0
@ -367,6 +367,7 @@ while test "${#}" -gt "0"; do
|
||||
-n|--proto) proto="${2}"; shift;;
|
||||
-s|--persistent) persistent=1; shift;;
|
||||
-h|--help) usage;;
|
||||
--) break;;
|
||||
*) echo "Unsupported option" >&2; exit 1;;
|
||||
esac
|
||||
shift
|
||||
|
Loading…
Reference in New Issue
Block a user