From 33306250f02c1d0042d2a0d3cef50bbac8735878 Mon Sep 17 00:00:00 2001 From: Hugo Hamon Date: Sat, 21 Jul 2012 15:33:07 +0200 Subject: [PATCH] [Command] fixed typo in "self-update" command class and added a "selfupdate" alias for the command. --- src/Composer/Command/SelfUpdateCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Composer/Command/SelfUpdateCommand.php b/src/Composer/Command/SelfUpdateCommand.php index 16f92babd..d37307217 100644 --- a/src/Composer/Command/SelfUpdateCommand.php +++ b/src/Composer/Command/SelfUpdateCommand.php @@ -26,6 +26,7 @@ class SelfUpdateCommand extends Command { $this ->setName('self-update') + ->setAliases(array('selfupdate')) ->setDescription('Updates composer.phar to the latest version.') ->setHelp(<<self-update command checks getcomposer.org for newer @@ -64,7 +65,7 @@ EOT throw $e; } unlink($tempFilename); - $output->writeln('The download is corrupt ('.$e->getMessage().').'); + $output->writeln('The download is corrupted ('.$e->getMessage().').'); $output->writeln('Please re-run the self-update command to try again.'); } } else {