|
@@ -43,7 +43,7 @@ func waitCommand(p *ProjectOptions, dockerCli command.Cli, backend api.Service)
|
|
var err error
|
|
var err error
|
|
cmd := &cobra.Command{
|
|
cmd := &cobra.Command{
|
|
Use: "wait SERVICE [SERVICE...] [OPTIONS]",
|
|
Use: "wait SERVICE [SERVICE...] [OPTIONS]",
|
|
- Short: "Block until the first service container stops",
|
|
|
|
|
|
+ Short: "Block until containers of all (or specified) services stop.",
|
|
Args: cli.RequiresMinArgs(1),
|
|
Args: cli.RequiresMinArgs(1),
|
|
RunE: Adapt(func(ctx context.Context, services []string) error {
|
|
RunE: Adapt(func(ctx context.Context, services []string) error {
|
|
opts.services = services
|
|
opts.services = services
|