Bladeren bron

v1.0.7 - update to upstream getopt-php, to get trimmed options

master
Gustavo Arnosti Neves 8 jaren geleden
bovenliggende
commit
82a2730a2f
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. +1
    -1
      barcode.php
  2. +1
    -1
      vendor/ulrichsg/getopt-php/src/Ulrichsg/Getopt/CommandLineParser.php

+ 1
- 1
barcode.php Bestand weergeven

@@ -14,7 +14,7 @@

require_once 'vendor/autoload.php';

define("_BC_VERSION", "1.0.6");
define("_BC_VERSION", "1.0.7");

# default padding for cli messages
define("_BC_PADDING", 30);


+ 1
- 1
vendor/ulrichsg/getopt-php/src/Ulrichsg/Getopt/CommandLineParser.php Bestand weergeven

@@ -48,7 +48,7 @@ class CommandLineParser
// should we also test for '-'? Or should we not test for either at all?

// this is an operand, store and continue
if ($arg !== '--') $operands[] = $arguments[$i];
if ($arg !== '--') $operands[] = $arg;
continue;
}
if (mb_substr($arg, 0, 2) == '--') {


Laden…
Annuleren
Opslaan