Browse Source

fix: use remainder arguments for all services commands

raw-remaining-args
Valentin Lab 6 years ago
parent
commit
4c89f1c304
  1. 2
      bin/compose

2
bin/compose

@ -2428,7 +2428,7 @@ charm.sanity_checks || die "Sanity checks about charm-store failed. Please corre
is_service_action= is_service_action=
case "$action" in case "$action" in
up|build|start|stop|config|graph) up|build|start|stop|config|graph)
services="$(get_default_target_services "${action_posargs[@]}")" || exit 1
services="$(get_default_target_services "${action_posargs[@]}" "${remainder_args[@]}")" || exit 1
orig_services="${action_posargs[@]:1}" orig_services="${action_posargs[@]:1}"
;; ;;
run) run)

Loading…
Cancel
Save