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 {