Rename --dev to --prefer-source
parent
edae6d5eab
commit
81d41fc442
|
@ -46,7 +46,7 @@ class InstallCommand extends Command
|
||||||
->setName('install')
|
->setName('install')
|
||||||
->setDescription('Parses the composer.json file and downloads the needed dependencies.')
|
->setDescription('Parses the composer.json file and downloads the needed dependencies.')
|
||||||
->setDefinition(array(
|
->setDefinition(array(
|
||||||
new InputOption('dev', null, InputOption::VALUE_NONE, 'Forces installation from package sources when possible, including VCS information.'),
|
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).'),
|
new InputOption('dry-run', null, InputOption::VALUE_NONE, 'Outputs the operations but will not execute anything (implicitly enables --verbose).'),
|
||||||
new InputOption('no-install-recommends', null, InputOption::VALUE_NONE, 'Do not install recommended packages (ignored when installing from an existing lock file).'),
|
new InputOption('no-install-recommends', null, InputOption::VALUE_NONE, 'Do not install recommended packages (ignored when installing from an existing lock file).'),
|
||||||
new InputOption('install-suggests', null, InputOption::VALUE_NONE, 'Also install suggested packages (ignored when installing from an existing lock file).'),
|
new InputOption('install-suggests', null, InputOption::VALUE_NONE, 'Also install suggested packages (ignored when installing from an existing lock file).'),
|
||||||
|
@ -73,7 +73,7 @@ EOT
|
||||||
$io,
|
$io,
|
||||||
$composer,
|
$composer,
|
||||||
$eventDispatcher,
|
$eventDispatcher,
|
||||||
(Boolean)$input->getOption('dev'),
|
(Boolean)$input->getOption('prefer-source'),
|
||||||
(Boolean)$input->getOption('dry-run'),
|
(Boolean)$input->getOption('dry-run'),
|
||||||
(Boolean)$input->getOption('verbose'),
|
(Boolean)$input->getOption('verbose'),
|
||||||
(Boolean)$input->getOption('no-install-recommends'),
|
(Boolean)$input->getOption('no-install-recommends'),
|
||||||
|
|
|
@ -35,7 +35,7 @@ class UpdateCommand extends Command
|
||||||
->setName('update')
|
->setName('update')
|
||||||
->setDescription('Updates your dependencies to the latest version, and updates the composer.lock file.')
|
->setDescription('Updates your dependencies to the latest version, and updates the composer.lock file.')
|
||||||
->setDefinition(array(
|
->setDefinition(array(
|
||||||
new InputOption('dev', null, InputOption::VALUE_NONE, 'Forces installation from package sources when possible, including VCS information.'),
|
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).'),
|
new InputOption('dry-run', null, InputOption::VALUE_NONE, 'Outputs the operations but will not execute anything (implicitly enables --verbose).'),
|
||||||
new InputOption('no-install-recommends', null, InputOption::VALUE_NONE, 'Do not install recommended packages.'),
|
new InputOption('no-install-recommends', null, InputOption::VALUE_NONE, 'Do not install recommended packages.'),
|
||||||
new InputOption('install-suggests', null, InputOption::VALUE_NONE, 'Also install suggested packages.'),
|
new InputOption('install-suggests', null, InputOption::VALUE_NONE, 'Also install suggested packages.'),
|
||||||
|
@ -63,7 +63,7 @@ EOT
|
||||||
$io,
|
$io,
|
||||||
$composer,
|
$composer,
|
||||||
$eventDispatcher,
|
$eventDispatcher,
|
||||||
(Boolean)$input->getOption('dev'),
|
(Boolean)$input->getOption('prefer-source'),
|
||||||
(Boolean)$input->getOption('dry-run'),
|
(Boolean)$input->getOption('dry-run'),
|
||||||
(Boolean)$input->getOption('verbose'),
|
(Boolean)$input->getOption('verbose'),
|
||||||
(Boolean)$input->getOption('no-install-recommends'),
|
(Boolean)$input->getOption('no-install-recommends'),
|
||||||
|
|
Loading…
Reference in New Issue