mirror of
https://github.com/ben-grande/qusal.git
synced 2025-03-29 02:18:18 -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;;
|
-n|--proto) proto="${2}"; shift;;
|
||||||
-s|--persistent) persistent=1; shift;;
|
-s|--persistent) persistent=1; shift;;
|
||||||
-h|--help) usage;;
|
-h|--help) usage;;
|
||||||
|
--) break;;
|
||||||
*) echo "Unsupported option" >&2; exit 1;;
|
*) echo "Unsupported option" >&2; exit 1;;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
|
Loading…
x
Reference in New Issue
Block a user