Sfoglia il codice sorgente

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

master
parent
commit
82a2730a2f
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +1
    -1
      barcode.php
  2. +1
    -1
      vendor/ulrichsg/getopt-php/src/Ulrichsg/Getopt/CommandLineParser.php

+ 1
- 1
barcode.php Vedi File

@@ -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 Vedi File

@@ -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) == '--') {


Caricamento…
Annulla
Salva