Skip to content

Commit 183fea1

Browse files
committed
Fix up count behavior.
1 parent 79e1c05 commit 183fea1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Command/MigrateCommand.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@ protected function executeMigrations(Arguments $args, ConsoleIo $io): ?int
127127
$fake = (bool)$args->getOption('fake');
128128
$dryRun = (bool)$args->getOption('dry-run');
129129

130+
$count = $args->getOption('count');
131+
if ($count) {
132+
$io->abort('The `--count` option is not supported yet in this command. Use `--target` instead.');
133+
}
134+
130135
$factory = new ManagerFactory([
131136
'plugin' => $args->getOption('plugin'),
132137
'source' => $args->getOption('source'),

0 commit comments

Comments
 (0)