From b8a020f53eb2907dad3d9e6e0a2bbace58919df8 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 21 Feb 2023 00:29:30 -0500 Subject: [PATCH] fix: move arg-less flags to the front --- common-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common-functions b/common-functions index 17a6da4..7472f84 100755 --- a/common-functions +++ b/common-functions @@ -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^^}"