mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
"Help" fixes
This commit is contained in:
parent
2d953b348a
commit
f2f69974e9
@ -148,6 +148,9 @@ specified at once.
|
||||
|
||||
function doInstall($command, $options, $params)
|
||||
{
|
||||
if (sizeof($params) < 1) {
|
||||
return $this->raiseError('Missing package to install. Try "help install"');
|
||||
}
|
||||
if (empty($this->installer)) {
|
||||
$this->installer = &new PEAR_Installer($ui);
|
||||
}
|
||||
|
@ -133,7 +133,7 @@ if ($fetype == 'Gtk') {
|
||||
Gtk::main();
|
||||
} else do {
|
||||
if ($command == 'help') {
|
||||
usage(null, @$options[1][0]);
|
||||
usage(null, @$options[1][1]);
|
||||
}
|
||||
|
||||
PEAR::pushErrorHandling(PEAR_ERROR_RETURN);
|
||||
|
Loading…
Reference in New Issue
Block a user