ソースを参照

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

master
コミット
82a2730a2f
2個のファイルの変更2行の追加2行の削除
  1. +1
    -1
      barcode.php
  2. +1
    -1
      vendor/ulrichsg/getopt-php/src/Ulrichsg/Getopt/CommandLineParser.php

+ 1
- 1
barcode.php ファイルの表示

@@ -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 ファイルの表示

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


読み込み中…
キャンセル
保存