protected function configure()
{
$this->setName('db:info')->addArgument('setting', InputArgument::OPTIONAL, 'Only output value of named setting')->addDeprecatedAlias('database:info', 'Please use db:info')->setDescription('Dumps database informations')->addOption('format', null, InputOption::VALUE_OPTIONAL, 'Output Format. One of [' . implode(',', RendererFactory::getFormats()) . ']');
$help = <<<HELP
This command is useful to print all informations about the current configured database in app/etc/local.xml.
It can print connection string for JDBC, PDO connections.
HELP;
$this->setHelp($help);
}