protected function configure()
{
$this->setName('fos:user:changePassword')->setDescription('Change the password of a user.')->setDefinition(array(new InputArgument('username', InputArgument::REQUIRED, 'The username'), new InputArgument('password', InputArgument::REQUIRED, 'The password')))->setHelp(<<<EOT
The <info>fos:user:changePassword</info> command changes the password of a user:
<info>php app/console fos:user:changePassword matthieu</info>
This interactive shell will first ask you for a password.
You can alternatively specify the password as a second argument:
<info>php app/console fos:user:changePassword matthieu mypassword</info>
EOT
);
}