add alias `u` to the update command
parent
b63e2de819
commit
2f347e1347
|
@ -115,7 +115,7 @@ resolution.
|
||||||
requirements and force the installation even if the local machine does not
|
requirements and force the installation even if the local machine does not
|
||||||
fulfill these. See also the [`platform`](06-config.md#platform) config option.
|
fulfill these. See also the [`platform`](06-config.md#platform) config option.
|
||||||
|
|
||||||
## update
|
## update / u
|
||||||
|
|
||||||
In order to get the latest versions of the dependencies and to update the
|
In order to get the latest versions of the dependencies and to update the
|
||||||
`composer.lock` file, you should use the `update` command. This command is also
|
`composer.lock` file, you should use the `update` command. This command is also
|
||||||
|
|
|
@ -34,7 +34,7 @@ class UpdateCommand extends BaseCommand
|
||||||
{
|
{
|
||||||
$this
|
$this
|
||||||
->setName('update')
|
->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.')
|
->setDescription('Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.')
|
||||||
->setDefinition(array(
|
->setDefinition(array(
|
||||||
new InputArgument('packages', InputArgument::IS_ARRAY | InputArgument::OPTIONAL, 'Packages that should be updated, if not provided all packages are.'),
|
new InputArgument('packages', InputArgument::IS_ARRAY | InputArgument::OPTIONAL, 'Packages that should be updated, if not provided all packages are.'),
|
||||||
|
|
Loading…
Reference in New Issue