Browse Source

new: [compose-core] avoid displaying information about optional relations available in quiet mode

cache-relation
Valentin Lab 1 year ago
parent
commit
62baa4f655
  1. 8
      bin/compose-core

8
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"

Loading…
Cancel
Save