From fa6c8eb6c0daa412a6500e635e8020230caa0797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draic=20Brady?= Date: Sun, 23 Feb 2014 12:40:01 +0000 Subject: [PATCH] Add disable-tls to self-update command as a defined option --- src/Composer/Command/SelfUpdateCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Composer/Command/SelfUpdateCommand.php b/src/Composer/Command/SelfUpdateCommand.php index 5e2244ee0..51ab6aef9 100644 --- a/src/Composer/Command/SelfUpdateCommand.php +++ b/src/Composer/Command/SelfUpdateCommand.php @@ -43,6 +43,7 @@ class SelfUpdateCommand extends Command 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 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(<<self-update command checks getcomposer.org for newer