Merge pull request #103 from henrikbjorn/help-command
Rename HelpCommand to AboutCommandpull/110/head
commit
e6c3929ea9
|
@ -18,15 +18,15 @@ use Symfony\Component\Console\Output\OutputInterface;
|
||||||
/**
|
/**
|
||||||
* @author Jordi Boggiano <j.boggiano@seld.be>
|
* @author Jordi Boggiano <j.boggiano@seld.be>
|
||||||
*/
|
*/
|
||||||
class HelpCommand extends Command
|
class AboutCommand extends Command
|
||||||
{
|
{
|
||||||
protected function configure()
|
protected function configure()
|
||||||
{
|
{
|
||||||
$this
|
$this
|
||||||
->setName('help')
|
->setName('about')
|
||||||
->setDescription('')
|
->setDescription('Short information about Composer')
|
||||||
->setHelp(<<<EOT
|
->setHelp(<<<EOT
|
||||||
<info>php composer.phar help</info>
|
<info>php composer.phar about</info>
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
|
@ -63,7 +63,7 @@ class Application extends BaseApplication
|
||||||
*/
|
*/
|
||||||
protected function registerCommands()
|
protected function registerCommands()
|
||||||
{
|
{
|
||||||
$this->add(new Command\HelpCommand());
|
$this->add(new Command\AboutCommand());
|
||||||
$this->add(new Command\InstallCommand());
|
$this->add(new Command\InstallCommand());
|
||||||
$this->add(new Command\UpdateCommand());
|
$this->add(new Command\UpdateCommand());
|
||||||
$this->add(new Command\DebugPackagesCommand());
|
$this->add(new Command\DebugPackagesCommand());
|
||||||
|
|
Loading…
Reference in New Issue