mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
added help
This commit is contained in:
parent
1924492aed
commit
6e8268e4a4
3 changed files with 32 additions and 0 deletions
|
@ -55,6 +55,16 @@ class PEAR_Command_Auth extends PEAR_Command_Common
|
||||||
}
|
}
|
||||||
|
|
||||||
// }}}
|
// }}}
|
||||||
|
|
||||||
|
function getHelp($command)
|
||||||
|
{
|
||||||
|
switch ($command) {
|
||||||
|
case 'login':
|
||||||
|
return array(null, 'Connects to the remote server');
|
||||||
|
case 'logout':
|
||||||
|
return array(null, 'Disconnects from the remote server');
|
||||||
|
}
|
||||||
|
}
|
||||||
// {{{ run()
|
// {{{ run()
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -57,6 +57,20 @@ class PEAR_Command_Config extends PEAR_Command_Common
|
||||||
}
|
}
|
||||||
|
|
||||||
// }}}
|
// }}}
|
||||||
|
|
||||||
|
function getHelp($command)
|
||||||
|
{
|
||||||
|
switch ($command) {
|
||||||
|
case 'config-show':
|
||||||
|
return array(null, 'Displays the configuration');
|
||||||
|
case 'config-get':
|
||||||
|
return array('<parameter>',
|
||||||
|
'Displays the value of the given parameter');
|
||||||
|
case 'config-set':
|
||||||
|
return array('<parameter>=<value>',
|
||||||
|
'Sets the value of a parameter in the config');
|
||||||
|
}
|
||||||
|
}
|
||||||
// {{{ run()
|
// {{{ run()
|
||||||
|
|
||||||
function run($command, $options, $params)
|
function run($command, $options, $params)
|
||||||
|
|
|
@ -32,6 +32,14 @@ class PEAR_Command_Registry extends PEAR_Command_Common
|
||||||
return array('list-installed');
|
return array('list-installed');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getHelp($command)
|
||||||
|
{
|
||||||
|
switch ($command) {
|
||||||
|
case 'list-installed':
|
||||||
|
return array(null, 'List the installed PEAR packages in the system');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// }}}
|
// }}}
|
||||||
// {{{ run()
|
// {{{ run()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue