fix: move arg-less flags to the front

This commit is contained in:
Jose Diaz-Gonzalez
2023-02-21 00:29:30 -05:00
parent 303d1bc1a0
commit 09f4c89712

View File

@@ -728,7 +728,7 @@ service_parse_args() {
done
OPTIND=1
while getopts "a:c:C:d:i:I:m:n:nN:p:P:q:R:r:s:S:u:" opt; do
while getopts "na:c:C:d:i:I:m:n:N:p:P:q:R:r:s:S:u:" opt; do
case "$opt" in
a)
SERVICE_ALIAS="${OPTARG^^}"