修正说明

This commit is contained in:
yunwuxin 2016-03-23 18:23:54 +08:00
parent 6a662ab8e8
commit cb8422170f

View File

@ -29,12 +29,12 @@ class Rollback extends AbstractCommand
->addOption('--date', '-d', InputOption::VALUE_REQUIRED, 'The date to rollback to') ->addOption('--date', '-d', InputOption::VALUE_REQUIRED, 'The date to rollback to')
->setHelp( ->setHelp(
<<<EOT <<<EOT
The <info>rollback</info> command reverts the last migration, or optionally up to a specific version The <info>migrate:rollback</info> command reverts the last migration, or optionally up to a specific version
<info>phinx rollback -e development</info> <info>php console migrate:rollback</info>
<info>phinx rollback -e development -t 20111018185412</info> <info>php console migrate:rollback -t 20111018185412</info>
<info>phinx rollback -e development -d 20111018</info> <info>php console migrate:rollback -d 20111018</info>
<info>phinx rollback -e development -v</info> <info>php console migrate:rollback -v</info>
EOT EOT
); );