From b799c4eaf3c8254d418a76bf06a9b727b66fccbc Mon Sep 17 00:00:00 2001 From: Opher Shachar <133236912+kingtistel@users.noreply.github.com> Date: Wed, 20 Aug 2025 11:48:54 +0300 Subject: [PATCH] Update quickstart.sh (#1740) fix #1739 - `quickstart.sh` will not write out the help message instead of the version. --- quickstart.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/quickstart.sh b/quickstart.sh index 41585cd0..bfa72a99 100755 --- a/quickstart.sh +++ b/quickstart.sh @@ -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 }