1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 16:42:57 +00:00

add alias u to the update command

This commit is contained in:
refael iliaguyev 2018-07-19 11:38:43 +03:00
parent b63e2de819
commit 2f347e1347
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ class UpdateCommand extends BaseCommand
{
$this
->setName('update')
->setAliases(array('upgrade'))
->setAliases(array('u', 'upgrade'))
->setDescription('Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.')
->setDefinition(array(
new InputArgument('packages', InputArgument::IS_ARRAY | InputArgument::OPTIONAL, 'Packages that should be updated, if not provided all packages are.'),