|
|
@ -3591,7 +3591,12 @@ display_help() { |
|
|
|
echo " -d, --debug Print full debugging information (sets also verbose)" |
|
|
|
echo " --dry-compose-run If docker-compose will be run, only print out what" |
|
|
|
echo " command line will be used." |
|
|
|
echo " --rebuild-relations-to-service, -R SERVICE" |
|
|
|
echo " --no-relations Do not run any relation script" |
|
|
|
echo " --no-hooks Do not run any init script" |
|
|
|
echo " --no-init Do not run any init script" |
|
|
|
echo " --without-relation RELATION " |
|
|
|
echo " Do not run given relation" |
|
|
|
echo " -R, --rebuild-relations-to-service SERVICE" |
|
|
|
echo " Will rebuild all relations to given service" |
|
|
|
echo " --add-compose-content, -Y YAML" |
|
|
|
echo " Will merge some direct YAML with the current compose" |
|
|
@ -3885,7 +3890,7 @@ while read-0 arg; do |
|
|
|
rebuild_relations_to_service+=("$value") |
|
|
|
shift |
|
|
|
;; |
|
|
|
--debug) |
|
|
|
--debug|-d) |
|
|
|
export DEBUG=true |
|
|
|
export VERBOSE=true |
|
|
|
#compose_opts+=("--verbose" "--log-level" "DEBUG") |
|
|
@ -4123,7 +4128,7 @@ if [ "$full_init" ]; then |
|
|
|
fi |
|
|
|
|
|
|
|
## Get relations |
|
|
|
if [ -z "$no_relations" ]; then |
|
|
|
if [[ -z "$no_relations" && -z "$no_hooks" ]]; then |
|
|
|
if [ "${#rebuild_relations_to_service[@]}" != 0 ]; then |
|
|
|
rebuild_relations_to_service=$(get_master_services "${rebuild_relations_to_service[@]}") || return 1 |
|
|
|
rebuild_relations_to_service=($rebuild_relations_to_service) |
|
|
|