Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

Commit 1fc6d1d

Browse files
committed
Fix command recommendation when there are staged activities
1 parent 5dd0a3b commit 1fc6d1d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Command/Environment/EnvironmentActivateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ protected function activateMultiple(array $environments, InputInterface $input,
9393
]);
9494
}
9595
$output->writeln(sprintf(
96-
'To resume the environment, run: <comment>%s environment:resume</comment>',
96+
'To resume the environment, run: <comment>%s env:resume</comment>',
9797
$this->config()->get('application.executable')
9898
));
9999
$count--;

src/Command/Environment/EnvironmentSshCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
7070
$this->stdErr->writeln(sprintf('The environment %s is paused, so an SSH connection is not possible.', $this->api()->getEnvironmentLabel($e->getEnvironment(), 'error')));
7171
if ($this->config()->isCommandEnabled('environment:resume')) {
7272
$this->stdErr->writeln('');
73-
$this->stdErr->writeln(sprintf('Resume the environment by running: <info>%s environment:resume -e %s</info>', $this->config()->get('application.executable'), OsUtil::escapeShellArg($environment->id)));
73+
$this->stdErr->writeln(sprintf('Resume the environment by running: <info>%s env:resume -e %s</info>', $this->config()->get('application.executable'), OsUtil::escapeShellArg($environment->id)));
7474
}
7575
return 1;
7676
}

src/Service/ActivityMonitor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ private function printResult(Activity $activity, $logOnFailure = false)
542542
}
543543

544544
if ($activity->state === Activity::STATE_STAGED) {
545-
$stdErr->writeln(sprintf('To deploy staged changes, run: <info>%s deploy</info>',
545+
$stdErr->writeln(sprintf('To deploy staged changes, run: <info>%s env:deploy</info>',
546546
$this->config->get('application.executable')));
547547
}
548548

0 commit comments

Comments
 (0)