From 80f7b096d60d48afba2385705fd45534046eadcb Mon Sep 17 00:00:00 2001 From: Christina Thee Roperto Date: Mon, 18 Jan 2021 13:44:39 +1100 Subject: [PATCH] removing ['use-sdk-creds'] check so it could work for sdk-creds=0 --- cli/test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/test.php b/cli/test.php index eb28bdc..fd273b3 100644 --- a/cli/test.php +++ b/cli/test.php @@ -98,12 +98,12 @@ echo $help.$sdkexample.$example; die; } else if ($options['use-sdk-creds']) { - if (!$options['region'] || !$options['input-bucket'] || !$options['output-bucket'] || !$options['use-sdk-creds']) { + if (!$options['region'] || !$options['input-bucket'] || !$options['output-bucket']) { echo $help.$sdkexample; die; } } else if (!$options['keyid'] || !$options['secret'] || !$options['region'] -|| !$options['input-bucket'] || !$options['output-bucket'] || !$options['use-sdk-creds']) { +|| !$options['input-bucket'] || !$options['output-bucket']) { echo $help.$example; die; }