diff options
author | Markus Fischer <mfischer@php.net> | 2001-11-11 03:59:22 +0000 |
---|---|---|
committer | Markus Fischer <mfischer@php.net> | 2001-11-11 03:59:22 +0000 |
commit | d672226d6f9d2d3af392fe75cb0fae07749df32c (patch) | |
tree | 6437ed25b7cb5ee83416eda42b144f15164e4114 | |
parent | 035c6c83e6b04c28cd1c058c3a34ee148bb45946 (diff) | |
download | php-git-d672226d6f9d2d3af392fe75cb0fae07749df32c.tar.gz |
Suppress warning on long-options without an additional argument.
-rw-r--r-- | pear/Console/Getopt.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/Console/Getopt.php b/pear/Console/Getopt.php index 14931dec16..41ea43d27f 100644 --- a/pear/Console/Getopt.php +++ b/pear/Console/Getopt.php @@ -147,7 +147,7 @@ class Console_Getopt { */ function _parseLongOption($arg, $long_options, &$opts, &$args) { - list($opt, $opt_arg) = explode('=', $arg); + @list($opt, $opt_arg) = explode('=', $arg); $opt_len = strlen($opt); for ($i = 0; $i < count($long_options); $i++) { |