diff --git a/bin/compose-core b/bin/compose-core index cc6da07..5b4f10b 100755 --- a/bin/compose-core +++ b/bin/compose-core @@ -2676,9 +2676,11 @@ get_all_relations () { ## make recommendation echo "$(_display_solves recommended)" | sed -r "s/^/${YELLOW}||${NORMAL} /g" >&2 fi - if [ "${#optional[@]}" != 0 ]; then - ## inform about options - echo "$(_display_solves optional)" | sed -r "s/^/${BLUE}||${NORMAL} /g" >&2 + if [ -z "$QUIET" ]; then + if [ "${#optional[@]}" != 0 ]; then + ## inform about options + echo "$(_display_solves optional)" | sed -r "s/^/${BLUE}||${NORMAL} /g" >&2 + fi fi # if [ "${#required[@]}" != 0 ]; then # err "Required relations not satisfied"