Fixed help for commands

This commit is contained in:
William DURAND 2011-03-26 18:30:43 +01:00
parent 4a6088b334
commit 98356cb3b4
7 changed files with 7 additions and 12 deletions

View file

@ -40,7 +40,7 @@ class BuildCommand extends PhingCommand
->setDefinition(array(
new InputOption('--classes', '', InputOption::VALUE_NONE, 'Build only classes'),
new InputOption('--sql', '', InputOption::VALUE_NONE, 'Build only code'),
new InputOption('--insert-sql', '', InputOption::VALUE_NONE, 'Insert SQL'),
new InputOption('--insert-sql', '', InputOption::VALUE_NONE, 'Build all and insert SQL'),
))
->setName('propel:build');
}

View file

@ -40,8 +40,8 @@ The <info>propel:data-dump</info> dumps data from database into xml file.
<info>php app/console propel:data-dump</info>
The <info>--connection</info> parameter allows you to change the connection to use.
The default connection is the active connection (propel.dbal.default_connection).
The <info>--connection</info> parameter allows you to change the connection to use.
The default connection is the active connection (propel.dbal.default_connection).
EOT
)
->setName('propel:data-dump')

View file

@ -76,5 +76,4 @@ EOT
));
$output->writeln(sprintf('SQL from XML data dump file is in "<info>%s</info>".', $dest));
}
}
}}

View file

@ -6,8 +6,6 @@ use Propel\PropelBundle\Command\PhingCommand;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Finder\Finder;
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
/*
* This file is part of the Symfony framework.

View file

@ -36,8 +36,7 @@ The <info>propel:insert-sql</info> command connects to the database and executes
<info>php app/console propel:insert-sql</info>
The <info>--force</info> parameter has to be used to actually insert SQL.
The <info>--force</info> parameter has to be used to actually insert SQL.
EOT
)
->setName('propel:insert-sql')

View file

@ -47,7 +47,6 @@ The <info>propel:migration:migrate</info> command checks the version of the data
<info>php app/console propel:migration:migrate --down</info> : checks the version of the database structure, and looks for migration files already executed
(i.e. with a lower version timestamp). <comment>The last executed migration found is reversed.</comment>
EOT
)
->setName('propel:migration:migrate')

View file

@ -38,8 +38,8 @@ The <info>propel:reverse</info> command generates an XML schema from reverse-eng
<info>php app/console propel:reverse</info>
The <info>--connection</info> parameter allows you to change the connection to use.
The default connection is the active connection (propel.dbal.default_connection).
The <info>--connection</info> parameter allows you to change the connection to use.
The default connection is the active connection (propel.dbal.default_connection).
EOT
)
->setName('propel:reverse')