mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-17 12:48:28 +00:00
Accept --options without channel
This commit is contained in:
parent
64bf16ce87
commit
996248b10c
@ -24,7 +24,7 @@ for arg in "$@"; do
|
||||
--perform-user-install) userinstall2=yes; ;;
|
||||
--yes-i-really-want-to-perform-a-user-install) userinstall=yes; ;;
|
||||
*)
|
||||
if [ -n "$channel" ]; then
|
||||
if [[ -n "$channel" || "$arg" == --* ]]; then
|
||||
args+="$arg"
|
||||
else
|
||||
channel="$arg"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user