Console_getopt error

From: Date: Tue, 25 Jun 2002 22:52:09 +0000
Subject: Console_getopt error
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7360@lists.php.net to get a copy of this message
I am working on a clean install of php-4.2.1 ona linux server and had problems after installing console_getopt. The pear script suddenly stopped recognising the command given to it. Even things like pear list-installed (which worked 2 seconds before) just produced the help message. I made this change to the pear script and everything works again - $command = (isset($options[1][1])) ? $options[1][1] : null; + $command = (isset($options[1][0])) ? $options[1][0] : null; It sounds like it might be an underlying problem with console_getopt, but this works for me now... :) Mike

« previous php.pear.dev (#7360) next »