PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Console » Console_Getopt » Bug #369

GetOpt 1.1 breaks pearcmd

Details

Submitted2003-12-06 11:50 UTC
Froml0nec0der at yahoo dot it
Assignedandrei
StatusClosed
PackageConsole_Getopt
PHP Version4.3.4
OSLinux 2.2.19
Roadmaps(Not assigned)

Comments

[2003-12-06 11:50 UTC] l0nec0der at yahoo dot it

Description:
------------
After upgrading to Console_GetOpt 1.1, (pear cli) pearcmd always runs in help mode, that is:
# pear list
pearcmd.php list [package]
If invoked without parameters, this command lists the PEAR packages
installed in your php_dir ({config php_dir)). With a parameter, it
lists the files in that package.

Reverting to 1.0 restores the original behaviour and lets me use the pear cli.

--danny

Reproduce code:
---------------
# pear list

Expected result:
----------------
# pear list
Installed packages:
===================
Package Version State
Archive_Tar 1.1 stable
Auth 1.2.2 stable
....

Actual result:
--------------
# pear list
pearcmd.php list [package]
If invoked without parameters, this command lists the PEAR packages
installed in your php_dir ({config php_dir)). With a parameter, it
lists the files in that package.