Update quickstart.sh (#1740)

fix #1739 - `quickstart.sh` will not write out the help message instead of the version.
This commit is contained in:
Opher Shachar 2025-08-20 11:48:54 +03:00 committed by GitHub
parent 077e7627f1
commit b799c4eaf3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,9 +84,13 @@ fi
function docker_compose_command () {
if $DOCKER_COMPOSE_HYPHEN; then
docker-compose $@
docker-compose "$@"
else
docker compose $@
if [[ "$1" == "--version" ]]; then
docker compose version
else
docker compose "$@"
fi
fi
}