fix: update oauth flag handling to support shorthand option
This commit is contained in:
4
run.sh
4
run.sh
@@ -8,7 +8,7 @@ CONTAINER_ARGS=()
|
||||
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case "$1" in
|
||||
--oauth)
|
||||
-o|--oauth)
|
||||
# OAuth support
|
||||
case "$2" in
|
||||
blob)
|
||||
@@ -28,7 +28,7 @@ while [[ $# -gt 0 ]]; do
|
||||
CONTAINER_ARGS+=("--oauth")
|
||||
shift 2
|
||||
;;
|
||||
--ssl|--no-caddy)
|
||||
--ssl|-s|--no-caddy|-n)
|
||||
CONTAINER_ARGS+=("$1")
|
||||
EXPOSED_PORTS=("-p" "10000:10000" "-p" "10001:10001" "-p" "10002:10002")
|
||||
shift
|
||||
|
||||
Reference in New Issue
Block a user