mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
cleanup: Commands are a lot less verbal and report better on success / failue
This commit is contained in:
@@ -79,7 +79,7 @@ class MigrateToRules extends Command
|
||||
|
||||
|
||||
if ($this->isExecuted() && true !== $this->option('force')) {
|
||||
$this->warn('This command has already been executed.');
|
||||
$this->warn('Correct: this command has already been executed.');
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -92,7 +92,7 @@ class MigrateToRules extends Command
|
||||
}
|
||||
|
||||
if (0 === $this->count) {
|
||||
$this->line('All bills are OK.');
|
||||
$this->info('Correct: all bills are OK.');
|
||||
}
|
||||
if (0 !== $this->count) {
|
||||
$this->line(sprintf('Verified and fixed %d bill(s).', $this->count));
|
||||
|
Reference in New Issue
Block a user