From d672226d6f9d2d3af392fe75cb0fae07749df32c Mon Sep 17 00:00:00 2001 From: Markus Fischer Date: Sun, 11 Nov 2001 03:59:22 +0000 Subject: [PATCH] Suppress warning on long-options without an additional argument. --- pear/Console/Getopt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- 2.40.0