mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
Update command descriptions, fixes #1068
This commit is contained in:
parent
5d2ff93324
commit
0689e24e83
2 changed files with 6 additions and 5 deletions
|
@ -28,7 +28,7 @@ class InstallCommand extends Command
|
|||
{
|
||||
$this
|
||||
->setName('install')
|
||||
->setDescription('Parses the composer.json file and downloads the needed dependencies.')
|
||||
->setDescription('Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.')
|
||||
->setDefinition(array(
|
||||
new InputOption('prefer-source', null, InputOption::VALUE_NONE, 'Forces installation from package sources when possible, including VCS information.'),
|
||||
new InputOption('dry-run', null, InputOption::VALUE_NONE, 'Outputs the operations but will not execute anything (implicitly enables --verbose).'),
|
||||
|
@ -38,9 +38,10 @@ class InstallCommand extends Command
|
|||
new InputOption('verbose', 'v', InputOption::VALUE_NONE, 'Shows more details including new commits pulled in when updating packages.'),
|
||||
))
|
||||
->setHelp(<<<EOT
|
||||
The <info>install</info> command reads the composer.json file from the
|
||||
current directory, processes it, and downloads and installs all the
|
||||
libraries and dependencies outlined in that file.
|
||||
The <info>install</info> command reads the composer.lock file from
|
||||
the current directory, processes it, and downloads and installs all the
|
||||
libraries and dependencies outlined in that file. If the file does not
|
||||
exist it will look for composer.json and do the same.
|
||||
|
||||
<info>php composer.phar install</info>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue