Add disable-tls to self-update command as a defined option
parent
ca4b4696b0
commit
fa6c8eb6c0
|
@ -43,6 +43,7 @@ class SelfUpdateCommand extends Command
|
||||||
new InputOption('rollback', 'r', InputOption::VALUE_NONE, 'Revert to an older installation of composer'),
|
new InputOption('rollback', 'r', InputOption::VALUE_NONE, 'Revert to an older installation of composer'),
|
||||||
new InputOption('clean-backups', null, InputOption::VALUE_NONE, 'Delete old backups during an update. This makes the current version of composer the only backup available after the update'),
|
new InputOption('clean-backups', null, InputOption::VALUE_NONE, 'Delete old backups during an update. This makes the current version of composer the only backup available after the update'),
|
||||||
new InputArgument('version', InputArgument::OPTIONAL, 'The version to update to'),
|
new InputArgument('version', InputArgument::OPTIONAL, 'The version to update to'),
|
||||||
|
new InputOption('disable-tls', null, InputArgument::VALUE_NONE, 'Disable SSL/TLS protection for HTTPS requests'),
|
||||||
))
|
))
|
||||||
->setHelp(<<<EOT
|
->setHelp(<<<EOT
|
||||||
The <info>self-update</info> command checks getcomposer.org for newer
|
The <info>self-update</info> command checks getcomposer.org for newer
|
||||||
|
|
Loading…
Reference in New Issue