Refactor manage-tenant script: improve parameter handling and ensure default values

This commit is contained in:
2026-04-28 17:54:43 +02:00
parent 6cb41c1277
commit 2b05d8c952
+3 -3
View File
@@ -67,12 +67,12 @@ PY
fi fi
} }
if [ -z "$1" ]; then if [ -z "${1:-}" ]; then
show_help show_help
fi fi
COMMAND=$1 COMMAND="$1"
TENANT_ID=$2 TENANT_ID="${2:-}"
case "$COMMAND" in case "$COMMAND" in
-h|--help) -h|--help)