Browse Source

new: keep literally unchanged the remaining args in command line

raw-remaining-args
Valentin Lab 6 years ago
parent
commit
6dc8e2f34d
  1. 8
      bin/compose

8
bin/compose

@ -2649,6 +2649,8 @@ is_docker_compose_action=
rebuild_relations_to_service=()
DC_MATCH_MULTI=$(get_docker_compose_multi_opts_list) &&
DC_MATCH_SINGLE=$(get_docker_compose_single_opts_list) || return 1
while [ "$#" != 0 ]; do
while read-0 arg; do
case "$stage" in
"main")
@ -2785,12 +2787,14 @@ while read-0 arg; do
while read-0 arg; do
remainder_args+=("$arg")
done
shift
remainder_args+=("$@")
break 3
;;
esac
shift
done < <(cla.normalize "$@")
done < <(cla.normalize "$1")
done
[ "${services_args[*]}" ] && debug " ${DARKWHITE}Services:$NORMAL ${DARKYELLOW}${services_args[*]}$NORMAL"
[ "${compose_opts[*]}" ] && debug " ${DARKWHITE}Main docker-compose opts:$NORMAL ${compose_opts[*]}"

Loading…
Cancel
Save