diff --git a/src/commands/migrate-command.ts b/src/commands/migrate-command.ts index ff5e8515..aac190fc 100644 --- a/src/commands/migrate-command.ts +++ b/src/commands/migrate-command.ts @@ -87,7 +87,7 @@ export async function handleMigrateCommand(args: string[]): Promise { if (dryRun) { console.log(' Run without --dry-run to apply changes'); } else { - console.log(' Rollback: ccs migrate --rollback'); + console.log(` Rollback: ccs migrate --rollback ${result.backupPath}`); } console.log(''); } else { diff --git a/src/config/migration-manager.ts b/src/config/migration-manager.ts index 39622fd3..88344006 100644 --- a/src/config/migration-manager.ts +++ b/src/config/migration-manager.ts @@ -353,7 +353,7 @@ export async function autoMigrate(): Promise { console.log(` [!] ${warning}`); } } - console.log(' Rollback: ccs migrate --rollback'); + console.log(` Rollback: ccs migrate --rollback ${result.backupPath}`); console.log(''); } else { console.log('');