From 149f8a30eba138a744a52434656d99f7fb78c387 Mon Sep 17 00:00:00 2001 From: Slawomir Koszewski Date: Tue, 24 Mar 2026 09:47:14 +0100 Subject: [PATCH] fix: enhance argument handling in start-azurite script to support container configuration --- start-azurite | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/start-azurite b/start-azurite index e02361e..5d3ee01 100755 --- a/start-azurite +++ b/start-azurite @@ -8,9 +8,9 @@ AZURITE_IMAGE="${AZURITE_IMAGE:-azurite:latest}" while [[ $# -gt 0 ]]; do case "$1" in - --no-oauth) - # OAuth support - CONTAINER_ARGS+=("--no-oauth") + --no-oauth|--no-caddy) + # Pass these flags to the container, so that it can configure Azurite accordingly. + CONTAINER_ARGS+=("$1") shift ;; -d|--azurite-dir) @@ -23,8 +23,8 @@ while [[ $# -gt 0 ]]; do fi ;; *) - CONTAINER_ARGS+=("$1") - shift + echo "Error: Unknown argument: $1" >&2 + exit 1 ;; esac done