Code Duplication    Length = 3-3 lines in 2 locations

src/scripts/getFromS3.php 1 location

@@ 22-24 (lines=3) @@
19
20
function check_input_parameters($options)
21
{
22
    if (!count($options) || isset($options['h']) ||
23
        isset($options['help']))
24
        usage();
25
26
    if (!isset($options['bucket']) || !isset($options['file']) ||
27
        !isset($options['to']))

src/scripts/putInS3.php 1 location

@@ 23-25 (lines=3) @@
20
21
function check_input_parameters(&$options)
22
{
23
    if (!count($options) || isset($options['h']) ||
24
        isset($options['help']))
25
        usage();
26
    
27
    if (!isset($options['bucket']) || !isset($options['file']) ||
28
        !isset($options['from']))