Kaynağa Gözat

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

master
ebeveyn
işleme
82a2730a2f
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +1
    -1
      barcode.php
  2. +1
    -1
      vendor/ulrichsg/getopt-php/src/Ulrichsg/Getopt/CommandLineParser.php

+ 1
- 1
barcode.php Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet