Home » Console » Console_Getopt » Bug #369
GetOpt 1.1 breaks pearcmd
Details
| Submitted | 2003-12-06 11:50 UTC |
|---|---|
| From | l0nec0der at yahoo dot it |
| Assigned | andrei |
| Status | Closed |
| Package | Console_Getopt |
| PHP Version | 4.3.4 |
| OS | Linux 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.